mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 09:30:25 +08:00
Added tool to test RGB-D camera: rtabmap-rgbd_camera Fixed Freenect corrupted depth image (after some time) (missing files...) git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1367 f169173b-cf89-36c8-b27e-44dbe73f0c83
21 lines
487 B
CMake
21 lines
487 B
CMake
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) |