mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-03 01:50:24 +08:00
moved CameraRGBD example from examples to tools folder
git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1584 f169173b-cf89-36c8-b27e-44dbe73f0c83
This commit is contained in:
25
tools/CameraRGBD/CMakeLists.txt
Normal file
25
tools/CameraRGBD/CMakeLists.txt
Normal file
@@ -0,0 +1,25 @@
|
||||
SET(INCLUDE_DIRS
|
||||
${PROJECT_SOURCE_DIR}/corelib/include
|
||||
${PROJECT_SOURCE_DIR}/utilite/include
|
||||
${OpenCV_INCLUDE_DIRS}
|
||||
${PCL_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
SET(LIBRARIES
|
||||
${OpenCV_LIBRARIES}
|
||||
${PCL_LIBRARIES}
|
||||
)
|
||||
|
||||
add_definitions(${PCL_DEFINITIONS})
|
||||
|
||||
INCLUDE_DIRECTORIES(${INCLUDE_DIRS})
|
||||
|
||||
ADD_EXECUTABLE(rgbd_camera main.cpp)
|
||||
TARGET_LINK_LIBRARIES(rgbd_camera rtabmap_core rtabmap_utilite ${LIBRARIES})
|
||||
|
||||
SET_TARGET_PROPERTIES( rgbd_camera
|
||||
PROPERTIES OUTPUT_NAME ${PROJECT_PREFIX}-rgbd_camera)
|
||||
|
||||
INSTALL(TARGETS rgbd_camera
|
||||
RUNTIME DESTINATION "${INSTALL_BIN_DIR}" COMPONENT runtime
|
||||
BUNDLE DESTINATION "${CMAKE_BUNDLE_LOCATION}" COMPONENT runtime)
|
||||
Reference in New Issue
Block a user