-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
37 lines (30 loc) · 1.01 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 3.0.2)
project(ndi_vision)
find_package(catkin REQUIRED
COMPONENTS
roscpp
pcl_conversions
pcl_ros
)
find_package(PCL 1.2 REQUIRED)
catkin_package(
LIBRARIES pcd_print.cpp pcl_cap.cpp pcl_statfilter.cpp
CATKIN_DEPENDS pcl_conversions pcl_ros roscpp
)
include_directories(${catkin_INCLUDE_DIRS})
include_directories(${PCL_INCLUDE_DIRS})
link_directories(${PCL_LIBRARY_DIRS})
add_definitions(${PCL_DEFINITIONS})
install(
DIRECTORY scripts_process scripts_combine launch src
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
)
add_executable(pcd_print src/pcd_print.cpp)
target_link_libraries(pcd_print ${catkin_LIBRARIES})
target_link_libraries(pcd_print ${PCL_LIBRARIES})
add_executable(pcl_cap src/pcl_cap.cpp)
target_link_libraries(pcl_cap ${catkin_LIBRARIES})
target_link_libraries(pcl_cap ${PCL_LIBRARIES})
add_executable(pcl_statfilter src/pcl_statfilter.cpp)
target_link_libraries(pcl_statfilter ${catkin_LIBRARIES})
target_link_libraries(pcl_statfilter ${PCL_LIBRARIES})