forked from artivis/pointcloud_to_rangeimage
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
70 lines (58 loc) · 1.5 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
cmake_minimum_required(VERSION 2.8.3)
project(pointcloud_to_rangeimage)
find_package(catkin REQUIRED COMPONENTS
roscpp
rospy
sensor_msgs
cv_bridge
dynamic_reconfigure
message_generation
image_transport
)
find_package(PCL REQUIRED)
find_package(OpenCV REQUIRED)
find_package(Boost REQUIRED)
generate_dynamic_reconfigure_options(
cfg/RangeImage.cfg
)
catkin_package(
# INCLUDE_DIRS include
# LIBRARIES
CATKIN_DEPENDS
DEPENDS PCL
)
###########
## Build ##
###########
include_directories(
include
${catkin_INCLUDE_DIRS}
${PCL_INCLUDE_DIRS}
${OpenCV_INCLUDE_DIRS}
${Boost_INCLUDE_DIRS}
)
## Declare a cpp library
# add_library(range_image_spherical
# src/${PROJECT_NAME}/range_image_spherical.cpp
# )
## Declare a cpp executable
add_executable(pointcloud_to_rangeimage_node src/pointcloud_to_rangeimage_node.cpp)
add_dependencies(pointcloud_to_rangeimage_node ${PROJECT_NAME}_gencfg pointcloud_to_rangeimage_generate_messages_cpp)
target_link_libraries(pointcloud_to_rangeimage_node
${catkin_LIBRARIES}
${PCL_LIBRARIES}
${OpenCV_LIBRARIES}
${Boost_LIBRARIES}
)
## Declare a cpp executable
add_executable(rangeimage_to_pointcloud_node src/rangeimage_to_pointcloud_node.cpp)
add_dependencies(rangeimage_to_pointcloud_node ${PROJECT_NAME}_gencfg pointcloud_to_rangeimage_generate_messages_cpp)
target_link_libraries(rangeimage_to_pointcloud_node
${catkin_LIBRARIES}
${PCL_LIBRARIES}
${OpenCV_LIBRARIES}
${Boost_LIBRARIES}
)
#############
## Install ##
#############