-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathCMakeLists.txt
43 lines (34 loc) · 1.02 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
cmake_minimum_required(VERSION 2.8.3)
project(data_exporter)
find_package(catkin REQUIRED COMPONENTS
cv_bridge
pcl_conversions
pcl_ros
roscpp
sensor_msgs
)
find_package(OpenCV REQUIRED)
find_package(Qt5Core REQUIRED)
catkin_package(
DEPENDS OpenCV #Non-catkin CMake projects
)
set(CMAKE_CXX_STANDARD 11)
include_directories(
${catkin_INCLUDE_DIRS}
${Boost_INCLUDE_DIRS}
)
add_executable(image_pointcloud_exporter
image_pointcloud_exporter/src/image_pointcloud_exporter_node.cpp)
target_link_libraries(image_pointcloud_exporter PRIVATE
${catkin_LIBRARIES}
${PCL_LIBRARIES}
${OpenCV_LIBRARIES}
)
install(DIRECTORY launch/
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
)
install(TARGETS image_pointcloud_exporter
ARCHIVE DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
LIBRARY DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
RUNTIME DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
)