-
Notifications
You must be signed in to change notification settings - Fork 24
/
CMakeLists.txt
36 lines (26 loc) · 976 Bytes
/
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
cmake_minimum_required(VERSION 2.8)
project(object_recognition_tabletop)
find_package(catkin REQUIRED ecto cmake_modules
moveit_core object_recognition_core object_recognition_msgs opencv_candidate
pluginlib rosconsole roscpp shape_msgs tf)
catkin_package()
# deal with Python
catkin_python_setup()
add_subdirectory(python)
set(CMAKE_INCLUDE_DIRECTORIES_PROJECT_BEFORE 1)
# include some directories
find_package(Eigen REQUIRED)
include_directories(${catkin_INCLUDE_DIRS}
include
)
include_directories(SYSTEM ${Eigen_INCLUDE_DIRS})
add_subdirectory(src)
# add the tests
add_subdirectory(test)
# add the docs
catkin_doxygen(object_recognition_tabletop-doxygen ${CMAKE_CURRENT_SOURCE_DIR}/include)
ecto_sphinx(${CMAKE_CURRENT_SOURCE_DIR}/doc/source doc)
# install the configuration files
install(DIRECTORY ${PROJECT_SOURCE_DIR}/conf
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
)