forked from wg-perception/linemod
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
37 lines (28 loc) · 1.03 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
cmake_minimum_required(VERSION 2.8)
project(object_recognition_linemod)
option(LINEMOD_VISUALIZE_IMAGE "visualize images with detected objects features" OFF)
option(LINEMOD_VISUALIZE_POINTCLOUD "visualize point clouds from the reference image and its match from DB" OFF)
find_package(catkin REQUIRED object_recognition_core object_recognition_renderer opencv_candidate)
catkin_package(CATKIN_DEPENDS ecto object_recognition_core object_recognition_renderer opencv_candidate
DEPENDS OpenCV
)
#install targets for all things python
catkin_python_setup()
find_package(OpenCV REQUIRED)
include_directories(include)
include_directories(SYSTEM ${catkin_INCLUDE_DIRS}
${OpenCV_INCLUDE_DIRS}
)
# Compile the module
add_subdirectory(python)
add_subdirectory(src)
# add the tests
if(CATKIN_ENABLE_TESTING)
add_subdirectory(test)
endif()
# build the docs
ecto_sphinx(${CMAKE_CURRENT_SOURCE_DIR}/doc/source doc)
# install the conf files
install(DIRECTORY conf
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
)