|
12 | 12 | # See the License for the specific language governing permissions and |
13 | 13 | # limitations under the License. |
14 | 14 |
|
15 | | -find_package(ament_cmake_gmock REQUIRED) |
| 15 | +find_package(ament_cmake_ros REQUIRED) |
16 | 16 | find_package(sensor_msgs REQUIRED) |
17 | 17 |
|
18 | | -ament_add_gmock(test_amcl test_amcl.cpp) |
| 18 | +ament_add_ros_isolated_gmock(test_amcl test_amcl.cpp) |
19 | 19 | target_compile_options(test_amcl PRIVATE -Wno-deprecated-copy) |
20 | 20 | target_link_libraries(test_amcl beluga_ros) |
21 | 21 |
|
22 | | -ament_add_gmock(test_messages test_messages.cpp) |
| 22 | +ament_add_ros_isolated_gmock(test_messages test_messages.cpp) |
23 | 23 | target_compile_options(test_messages PRIVATE -Wno-deprecated-copy) |
24 | 24 | target_link_libraries(test_messages beluga_ros) |
25 | 25 |
|
26 | | -ament_add_gmock(test_occupancy_grid test_occupancy_grid.cpp) |
| 26 | +ament_add_ros_isolated_gmock(test_occupancy_grid test_occupancy_grid.cpp) |
27 | 27 | target_compile_options(test_occupancy_grid PRIVATE -Wno-deprecated-copy) |
28 | 28 | target_link_libraries(test_occupancy_grid beluga_ros) |
29 | 29 |
|
30 | | -ament_add_gmock(test_tf2_sophus test_tf2_sophus.cpp) |
| 30 | +ament_add_ros_isolated_gmock(test_tf2_sophus test_tf2_sophus.cpp) |
31 | 31 | target_compile_options(test_tf2_sophus PRIVATE -Wno-deprecated-copy) |
32 | 32 | target_link_libraries(test_tf2_sophus beluga_ros) |
33 | 33 |
|
34 | | -ament_add_gmock(test_laser_scan test_laser_scan.cpp) |
| 34 | +ament_add_ros_isolated_gmock(test_laser_scan test_laser_scan.cpp) |
35 | 35 | target_compile_options(test_laser_scan PRIVATE -Wno-deprecated-copy) |
36 | 36 | target_link_libraries(test_laser_scan beluga_ros) |
37 | 37 |
|
38 | | -ament_add_gmock(test_particle_cloud test_particle_cloud.cpp) |
| 38 | +ament_add_ros_isolated_gmock(test_particle_cloud test_particle_cloud.cpp) |
39 | 39 | target_compile_options(test_particle_cloud PRIVATE -Wno-deprecated-copy) |
40 | 40 | target_link_libraries(test_particle_cloud beluga_ros) |
41 | 41 |
|
42 | | -ament_add_gmock(test_point_cloud test_point_cloud.cpp) |
| 42 | +ament_add_ros_isolated_gmock(test_point_cloud test_point_cloud.cpp) |
43 | 43 | target_compile_options(test_point_cloud PRIVATE -Wno-deprecated-copy) |
44 | 44 | target_link_libraries(test_point_cloud beluga_ros) |
0 commit comments