-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathCMakeLists.txt
56 lines (47 loc) · 1.06 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
cmake_minimum_required(VERSION 3.0)
project(transform_point_cloud)
find_package(catkin REQUIRED COMPONENTS
dynamic_reconfigure
geometry_msgs
roscpp
roslint
rospy
sensor_msgs
tf2_py
tf2_ros
tf2_sensor_msgs
)
roslint_cpp()
set(ROSLINT_PYTHON_OPTS "--ignore=W503" "1>&2")
roslint_python()
generate_dynamic_reconfigure_options(
cfg/LookupTransform.cfg
)
catkin_package(
CATKIN_DEPENDS
dynamic_reconfigure
geometry_msgs
roscpp
sensor_msgs
tf2_ros
)
include_directories(
${catkin_INCLUDE_DIRS}
)
add_executable(${PROJECT_NAME}
src/transform_point_cloud.cpp
)
add_dependencies(${PROJECT_NAME} ${PROJECT_NAME}_gencfg)
target_link_libraries(${PROJECT_NAME} ${catkin_LIBRARIES})
install(TARGETS
${PROJECT_NAME}
ARCHIVE DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
LIBRARY DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
RUNTIME DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
)
install(PROGRAMS
scripts/aggregate_point_cloud.py
scripts/generate_point_cloud.py
scripts/${PROJECT_NAME}_py.py
DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
)