mirror of
https://github.com/introlab/rtabmap.git
synced 2026-10-11 12:29:50 +08:00
* Moved bin directory inside build directory (to make easier different builds with same source directory) * Switched include order to avoid problems with remaining Version.h still in source directory taen before the one in binary dir. Fixed android build (updated res tool search path). * workflow-cmake: fixed path to bin directory
37 lines
763 B
CMake
37 lines
763 B
CMake
|
|
SET(SRC_FILES
|
|
main.cpp
|
|
)
|
|
|
|
SET(INCLUDE_DIRS
|
|
${PROJECT_BINARY_DIR}/corelib/include
|
|
${PROJECT_SOURCE_DIR}/utilite/include
|
|
${PROJECT_SOURCE_DIR}/corelib/include
|
|
${PROJECT_SOURCE_DIR}/guilib/include
|
|
${OpenCV_INCLUDE_DIRS}
|
|
${PCL_INCLUDE_DIRS}
|
|
)
|
|
|
|
IF(QT4_FOUND)
|
|
INCLUDE(${QT_USE_FILE})
|
|
ENDIF(QT4_FOUND)
|
|
|
|
SET(LIBRARIES
|
|
${OpenCV_LIBRARIES}
|
|
${PCL_LIBRARIES}
|
|
${QT_LIBRARIES}
|
|
)
|
|
|
|
INCLUDE_DIRECTORIES(${INCLUDE_DIRS})
|
|
|
|
IF(MINGW)
|
|
ADD_EXECUTABLE(epipolar_geometry WIN32 ${SRC_FILES})
|
|
ELSE()
|
|
ADD_EXECUTABLE(epipolar_geometry ${SRC_FILES})
|
|
ENDIF()
|
|
TARGET_LINK_LIBRARIES(epipolar_geometry rtabmap_core rtabmap_gui rtabmap_utilite ${LIBRARIES})
|
|
|
|
SET_TARGET_PROPERTIES( epipolar_geometry
|
|
PROPERTIES OUTPUT_NAME ${PROJECT_PREFIX}-epipolar_geometry)
|
|
|