-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
62 lines (51 loc) · 1.68 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
cmake_minimum_required(VERSION 3.14)
project(detected_objects_pointcloud_publisher)
find_package(autoware_cmake REQUIRED)
find_package(autoware_auto_perception_msgs REQUIRED)
find_package(PCL REQUIRED COMPONENTS common filters search)
find_package(eigen3_cmake_module REQUIRED)
find_package(Eigen3 REQUIRED)
find_package(tf2 REQUIRED)
find_package(tf2_sensor_msgs REQUIRED)
find_package(tf2_geometry_msgs REQUIRED)
find_package(tf2_ros REQUIRED)
find_package(rclcpp REQUIRED)
autoware_package()
include_directories(
include
SYSTEM
${EIGEN3_INCLUDE_DIRS}
${PCL_COMMON_INCLUDE_DIRS}
${PCL_INCLUDE_DIRS}
${PCL_DIR}
)
include_directories(${PCL_INCLUDE_DIRS})
link_directories(${PCL_LIBRARY_DIRS})
add_definitions(${PCL_DEFINITIONS})
# rclcpp_components_register_node(detected_objects_pointcloud_pub_node
# PLUGIN "detected_objects_pointcloud_publisher::DetectedObjectsPointcloudPubNode"
# EXECUTABLE detected_objects_pointcloud_pub
# )
ament_auto_add_executable(detected_objects_pointcloud_pub src/detected_objects_node.cpp)
target_link_libraries(detected_objects_pointcloud_pub
Eigen3::Eigen
${PCL_LIBRARIES}
)
ament_auto_add_executable(tracked_objects_pointcloud_pub src/tracked_objects_node.cpp)
target_link_libraries(tracked_objects_pointcloud_pub
Eigen3::Eigen
${PCL_LIBRARIES}
)
ament_auto_add_executable(predicted_objects_pointcloud_pub src/predicted_objects_node.cpp)
target_link_libraries(predicted_objects_pointcloud_pub
Eigen3::Eigen
${PCL_LIBRARIES}
)
ament_auto_add_executable(sync_objects_pointcloud_pub src/sync_objects_node.cpp)
target_link_libraries(sync_objects_pointcloud_pub
Eigen3::Eigen
${PCL_LIBRARIES}
)
ament_auto_package(INSTALL_TO_SHARE
launch
)