-
Notifications
You must be signed in to change notification settings - Fork 18
/
CMakeLists.txt
38 lines (28 loc) · 1 KB
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
cmake_minimum_required(VERSION 2.8)
project(object_recognition_tod)
find_package(catkin REQUIRED cmake_modules ecto ecto_opencv object_recognition_core opencv_candidate)
catkin_package()
#install targets for all things python
catkin_python_setup()
add_definitions("-Wno-pragmas -fno-strict-aliasing -Wall -Wl,--no-undefined")
find_package(Boost REQUIRED system filesystem serialization)
find_package(Eigen REQUIRED)
find_package(OpenCV REQUIRED)
include_directories(SYSTEM ${BOOST_INCLUDE_DIRS}
${catkin_INCLUDE_DIRS}
${EIGEN_INCLUDE_DIRS}
${OpenCV_INCLUDE_DIRS}
)
add_subdirectory(src)
if(CATKIN_ENABLE_TESTING)
add_subdirectory(test)
endif()
# add docs
ecto_sphinx(${CMAKE_CURRENT_SOURCE_DIR}/doc/source doc)
# install the applications
install(PROGRAMS ${PROJECT_SOURCE_DIR}/apps/feature_viewer
DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
)
install(DIRECTORY conf
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
)