forked from LimHyungTae/pcl_tutorial
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
88 lines (58 loc) · 2.63 KB
/
CMakeLists.txt
File metadata and controls
88 lines (58 loc) · 2.63 KB
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
76
77
78
79
80
81
cmake_minimum_required(VERSION 3.10)
project(pcl_tutorial)
set(CMAKE_CXX_STANDARD 17)
#find_package(catkin REQUIRED COMPONENTS
# roscpp
# rospy
# std_msgs
# geometry_msgs
# message_generation
# sensor_msgs
# pcl_ros)
#find_package(Boost 1.58 REQUIRED)
#find_package(PCL 1.10.0 REQUIRED)
find_package(PCL REQUIRED HINTS ~/install_thirdparty/pcl-pcl-1.13.1/install/share/pcl-1.13/PCLConfig.cmake)
include_directories(${PCL_INCLUDE_DIRS})
link_directories(${PCL_LIBRARY_DIRS})
add_definitions(${PCL_DEFINITIONS})
include_directories(
include
src
# ${catkin_INCLUDE_DIRS}
)
file(COPY ./materials/
DESTINATION ./auxiliary/
FILES_MATCHING
PATTERN *.bin)
add_executable(lec00_usage lec00_usage.cpp)
target_link_libraries(lec00_usage ${catkin_LIBRARIES} ${PCL_LIBRARIES})
add_executable(lec01_1_shared_ptr lec01_1_shared_ptr.cpp)
target_link_libraries(lec01_1_shared_ptr ${catkin_LIBRARIES} ${PCL_LIBRARIES})
add_executable(lec01_2_ptr lec01_2_ptr.cpp)
target_link_libraries(lec01_2_ptr ${catkin_LIBRARIES} ${PCL_LIBRARIES})
add_executable(lec01_3_ptr_in_class lec01_3_ptr_in_class.cpp)
target_link_libraries(lec01_3_ptr_in_class ${catkin_LIBRARIES} ${PCL_LIBRARIES})
add_executable(lec03_tf lec03_transformation.cpp)
target_link_libraries(lec03_tf ${catkin_LIBRARIES} ${PCL_LIBRARIES})
add_executable(lec04_visualization lec04_visualization.cpp)
target_link_libraries(lec04_visualization ${catkin_LIBRARIES} ${PCL_LIBRARIES})
add_executable(lec05_voxel lec05_voxelization.cpp)
target_link_libraries(lec05_voxel ${catkin_LIBRARIES} ${PCL_LIBRARIES})
add_executable(lec06_pass_through lec06_pass_through.cpp)
target_link_libraries(lec06_pass_through ${catkin_LIBRARIES} ${PCL_LIBRARIES})
add_executable(lec07_sor lec07_sor.cpp)
target_link_libraries(lec07_sor ${catkin_LIBRARIES} ${PCL_LIBRARIES})
add_executable(lec08_radius_search lec08_radius_search.cpp)
target_link_libraries(lec08_radius_search ${catkin_LIBRARIES} ${PCL_LIBRARIES})
add_executable(lec09_knn lec09_knn.cpp)
target_link_libraries(lec09_knn ${catkin_LIBRARIES} ${PCL_LIBRARIES})
add_executable(lec10_1_normal lec10_1_normal.cpp)
target_link_libraries(lec10_1_normal ${catkin_LIBRARIES} ${PCL_LIBRARIES})
add_executable(lec10_2_normal_corner lec10_2_normal_corner.cpp)
target_link_libraries(lec10_2_normal_corner ${catkin_LIBRARIES} ${PCL_LIBRARIES})
add_executable(lec11_icp lec11_icp.cpp)
target_link_libraries(lec11_icp ${catkin_LIBRARIES} ${PCL_LIBRARIES})
add_executable(lec12_gicp lec12_gicp.cpp)
target_link_libraries(lec12_gicp ${catkin_LIBRARIES} ${PCL_LIBRARIES})
# ToDo
# ICP, G-ICP, RANSAC