mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 01:20:25 +08:00
27 lines
617 B
CMake
27 lines
617 B
CMake
|
|
SET(SRC_FILES
|
|
main.cpp
|
|
)
|
|
|
|
SET(INCLUDE_DIRS
|
|
${PROJECT_SOURCE_DIR}/utilite/include
|
|
${CMAKE_CURRENT_SOURCE_DIR}
|
|
${OpenCV_INCLUDE_DIRS}
|
|
)
|
|
|
|
SET(LIBRARIES
|
|
${OpenCV_LIBRARIES}
|
|
)
|
|
|
|
# Make sure the compiler can find include files from our library.
|
|
INCLUDE_DIRECTORIES(${INCLUDE_DIRS})
|
|
|
|
# Add binary called "imagesJoiner" that is built from the source file "main.cpp".
|
|
# The extension is automatically found.
|
|
ADD_EXECUTABLE(imagesJoiner ${SRC_FILES})
|
|
TARGET_LINK_LIBRARIES(imagesJoiner rtabmap_utilite ${LIBRARIES})
|
|
|
|
SET_TARGET_PROPERTIES( imagesJoiner
|
|
PROPERTIES OUTPUT_NAME ${PROJECT_PREFIX}-imagesJoiner)
|
|
|