Renamed uresourcegenerator tool to rtabmap-res_tool

This commit is contained in:
matlabbe
2016-01-23 17:04:30 -05:00
parent c20bebd3f0
commit 8dc01c491b
2 changed files with 30 additions and 20 deletions

View File

@@ -12,12 +12,17 @@ INCLUDE_DIRECTORIES(${INCLUDE_DIRS})
# Add binary called "resource_tool" that is built from the source file "main.cpp".
# The extension is automatically found.
ADD_EXECUTABLE(uresourcegenerator ${SRC_FILES})
TARGET_LINK_LIBRARIES(uresourcegenerator rtabmap_utilite)
ADD_EXECUTABLE(res_tool ${SRC_FILES})
TARGET_LINK_LIBRARIES(res_tool rtabmap_utilite)
SET_TARGET_PROPERTIES(
uresourcegenerator
res_tool
PROPERTIES
VERSION ${UTILITE_VERSION}
SOVERSION ${UTILITE_VERSION}
)
OUTPUT_NAME ${PROJECT_PREFIX}-res_tool
)
INSTALL(TARGETS res_tool
RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}" COMPONENT runtime
BUNDLE DESTINATION "${CMAKE_BUNDLE_LOCATION}" COMPONENT runtime)