forked from autowarefoundation/autoware_universe
-
Notifications
You must be signed in to change notification settings - Fork 34
/
Copy pathCMakeLists.txt
41 lines (37 loc) · 1.03 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
cmake_minimum_required(VERSION 3.14)
project(component_interface_specs)
find_package(autoware_cmake REQUIRED)
autoware_package()
include_directories(
include
SYSTEM
${rclcpp_INCLUDE_DIRS}
${rosidl_runtime_cpp_INCLUDE_DIRS}
${rcl_INCLUDE_DIRS}
${autoware_adapi_v1_msgs_INCLUDE_DIRS}
${autoware_auto_planning_msgs_INCLUDE_DIRS}
${autoware_planning_msgs_INCLUDE_DIRS}
${autoware_auto_vehicle_msgs_INCLUDE_DIRS}
${tier4_control_msgs_INCLUDE_DIRS}
${nav_msgs_INCLUDE_DIRS}
${tier4_system_msgs_INCLUDE_DIRS}
${tier4_vehicle_msgs_INCLUDE_DIRS}
${autoware_auto_perception_msgs_INCLUDE_DIRS}
${tier4_map_msgs_INCLUDE_DIRS}
)
if(BUILD_TESTING)
ament_add_ros_isolated_gtest(test_component_interface_specs
test/gtest_main.cpp
test/test_planning.cpp
test/test_control.cpp
test/test_localization.cpp
test/test_system.cpp
test/test_map.cpp
test/test_perception.cpp
test/test_vehicle.cpp
)
target_include_directories(test_component_interface_specs
PRIVATE include
)
endif()
ament_auto_package()