CMakeLists.txt 656 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
cmake_minimum_required(VERSION 3.5)
project(mm_controller_interfaces)

# Default to C++14
if(NOT CMAKE_CXX_STANDARD)
  set(CMAKE_CXX_STANDARD 14)
endif()

if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
  add_compile_options(-Wall -Wextra -Wpedantic)
endif()


find_package(ament_cmake REQUIRED)
find_package(diagnostic_msgs REQUIRED)
find_package(rosidl_default_generators REQUIRED)

rosidl_generate_interfaces(${PROJECT_NAME}
  "msg/MMControllerStatus.msg"
  "msg/DeviceStatus.msg"
levi's avatar
levi committed
21
  "srv/NodeExecution.srv"
levi's avatar
levi committed
22
  "msg/DeviceDistance.msg"
levi's avatar
levi committed
23
  "msg/SubmapSettings.msg"
24
25
26
27
 )

ament_export_dependencies(rosidl_default_runtime)
ament_package()