2011-06-05 14:45:39 +00:00
|
|
|
|
|
|
|
|
SET(SRC_FILES
|
|
|
|
|
main.cpp
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
SET(INCLUDE_DIRS
|
2013-04-30 20:16:01 +00:00
|
|
|
${PROJECT_SOURCE_DIR}/utilite/include
|
2011-06-05 14:45:39 +00:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}
|
|
|
|
|
${OpenCV_INCLUDE_DIRS}
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
SET(LIBRARIES
|
2016-06-24 21:00:12 -04:00
|
|
|
${OpenCV_LIBRARIES}
|
2011-06-05 14:45:39 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
|
|
# 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})
|
2013-04-30 20:16:01 +00:00
|
|
|
TARGET_LINK_LIBRARIES(imagesJoiner rtabmap_utilite ${LIBRARIES})
|
2011-06-05 14:45:39 +00:00
|
|
|
|
|
|
|
|
SET_TARGET_PROPERTIES( imagesJoiner
|
|
|
|
|
PROPERTIES OUTPUT_NAME ${PROJECT_PREFIX}-imagesJoiner)
|
|
|
|
|
|