-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
75 lines (54 loc) · 2.23 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
70
71
72
73
74
75
cmake_minimum_required(VERSION 3.0.2)
project(ros_icp_tutorial)
find_package(catkin REQUIRED COMPONENTS
pcl_conversions
pcl_ros
roscpp
sensor_msgs
tf
tf2 geometry_msgs
)
catkin_package()
add_executable(example test/example.cpp)
target_link_libraries(example ${catkin_LIBRARIES})
add_executable(example_voxelgrid test/example_voxelgrid.cpp)
target_link_libraries(example_voxelgrid ${catkin_LIBRARIES})
add_executable(pcl_shptr_1 test/pcl_shptr_1.cpp)
target_link_libraries(pcl_shptr_1 ${catkin_LIBRARIES})
add_executable(pcl_shptr_2 test/pcl_shptr_2.cpp)
target_link_libraries(pcl_shptr_2 ${catkin_LIBRARIES})
add_executable(pcl_shptr_3 test/pcl_shptr_3.cpp)
target_link_libraries(pcl_shptr_3 ${catkin_LIBRARIES})
add_executable(transform test/transform.cpp)
target_link_libraries(transform ${catkin_LIBRARIES})
add_executable(pcd_read test/pcd_read.cpp)
target_link_libraries(pcd_read ${catkin_LIBRARIES})
add_executable(pcd_write test/pcd_write.cpp)
target_link_libraries(pcd_write ${catkin_LIBRARIES})
add_executable(downsampling test/downsampling.cpp)
target_link_libraries(downsampling ${catkin_LIBRARIES})
add_executable(uniformsampling test/uniformsampling.cpp)
target_link_libraries(uniformsampling ${catkin_LIBRARIES})
add_executable(upsampling test/upsampling.cpp)
target_link_libraries(upsampling ${catkin_LIBRARIES})
add_executable(passthrough test/passthrough.cpp)
target_link_libraries(passthrough ${catkin_LIBRARIES})
add_executable(noise test/noise.cpp)
target_link_libraries(noise ${catkin_LIBRARIES})
add_executable(ransac test/ransac.cpp)
target_link_libraries(ransac ${catkin_LIBRARIES})
add_executable(kdtree test/kdtree.cpp)
target_link_libraries(kdtree ${catkin_LIBRARIES})
add_executable(normal test/normal.cpp)
target_link_libraries(normal ${catkin_LIBRARIES} pcl_visualization)
add_executable(icp src/icp.cpp)
target_link_libraries(icp ${catkin_LIBRARIES} pcl_visualization)
add_executable(test_icp src/test_icp.cpp)
target_link_libraries(test_icp ${catkin_LIBRARIES})
add_executable(test_gicp src/test_gicp.cpp)
target_link_libraries(test_gicp ${catkin_LIBRARIES})
add_executable(harris src/harris.cpp)
target_link_libraries(harris ${catkin_LIBRARIES} pcl_visualization)
include_directories(
${catkin_INCLUDE_DIRS}
)