@@ -13,45 +13,45 @@ include_directories(
13
13
${PCL_INCLUDE_DIRS}
14
14
)
15
15
16
- ament_auto_add_library(cluster_lib SHARED
17
- lib/utils.cpp
16
+ ament_auto_add_library(${PROJECT_NAME} _lib SHARED
18
17
lib/euclidean_cluster.cpp
19
18
lib/voxel_grid_based_euclidean_cluster.cpp
19
+ lib/utils.cpp
20
20
)
21
21
22
- target_link_libraries (cluster_lib
22
+ target_link_libraries (${PROJECT_NAME} _lib
23
23
${PCL_LIBRARIES}
24
24
)
25
25
26
- target_include_directories (cluster_lib
26
+ target_include_directories (${PROJECT_NAME} _lib
27
27
PUBLIC
28
28
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR} /include >
29
29
$<INSTALL_INTERFACE:include >
30
30
)
31
31
32
- ament_auto_add_library(euclidean_cluster_node_core SHARED
32
+ ament_auto_add_library(${PROJECT_NAME} _node_core SHARED
33
33
src/euclidean_cluster_node.cpp
34
34
)
35
- target_link_libraries (euclidean_cluster_node_core
35
+ target_link_libraries (${PROJECT_NAME} _node_core
36
36
${PCL_LIBRARIES}
37
- cluster_lib
37
+ ${PROJECT_NAME} _lib
38
38
)
39
39
40
- rclcpp_components_register_node(euclidean_cluster_node_core
41
- PLUGIN "euclidean_cluster::EuclideanClusterNode"
40
+ rclcpp_components_register_node(${PROJECT_NAME} _node_core
41
+ PLUGIN "autoware:: euclidean_cluster::EuclideanClusterNode"
42
42
EXECUTABLE euclidean_cluster_node
43
43
)
44
44
45
- ament_auto_add_library(voxel_grid_based_euclidean_cluster_node_core SHARED
45
+ ament_auto_add_library(${PROJECT_NAME} _voxel_grid_node_core SHARED
46
46
src/voxel_grid_based_euclidean_cluster_node.cpp
47
47
)
48
- target_link_libraries (voxel_grid_based_euclidean_cluster_node_core
48
+ target_link_libraries (${PROJECT_NAME} _voxel_grid_node_core
49
49
${PCL_LIBRARIES}
50
- cluster_lib
50
+ ${PROJECT_NAME} _lib
51
51
)
52
52
53
- rclcpp_components_register_node(voxel_grid_based_euclidean_cluster_node_core
54
- PLUGIN "euclidean_cluster::VoxelGridBasedEuclideanClusterNode"
53
+ rclcpp_components_register_node(${PROJECT_NAME} _voxel_grid_node_core
54
+ PLUGIN "autoware:: euclidean_cluster::VoxelGridBasedEuclideanClusterNode"
55
55
EXECUTABLE voxel_grid_based_euclidean_cluster_node
56
56
)
57
57
0 commit comments