-
Notifications
You must be signed in to change notification settings - Fork 8
/
CMakeLists.txt
53 lines (46 loc) · 1.16 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
cmake_minimum_required(VERSION 2.8.3)
project(depth_cam_extrinsics_calib)
find_package(catkin REQUIRED COMPONENTS
cv_bridge
openni_camera
openni_launch
depth_cam_tools
rospy
geometry_msgs
message_generation
pcl_conversions
pcl_ros
roscpp
sensor_msgs
std_msgs
tf
tf_conversions
visualization_msgs
std_srvs
dynamic_reconfigure
)
catkin_python_setup()
generate_dynamic_reconfigure_options(
cfg/params.cfg
)
catkin_package()
include_directories(
${catkin_INCLUDE_DIRS}
)
add_executable(hsv_segmentation src/hsv_segmentation.cpp)
add_dependencies(hsv_segmentation ${${PROJECT_NAME}_EXPORTED_TARGETS} ${catkin_EXPORTED_TARGETS})
target_link_libraries(hsv_segmentation
${catkin_LIBRARIES}
${PCL_LIBRARIES}
)
add_executable(tf_to_pt src/tf_to_pointstamped.cpp)
add_dependencies(tf_to_pt ${${PROJECT_NAME}_EXPORTED_TARGETS} ${catkin_EXPORTED_TARGETS})
target_link_libraries(tf_to_pt
${catkin_LIBRARIES}
${PCL_LIBRARIES}
)
install(TARGETS hsv_segmentation tf_to_pt
ARCHIVE DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
LIBRARY DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
RUNTIME DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
)