25 lines
582 B
CMake
25 lines
582 B
CMake
cmake_minimum_required(VERSION 3.8)
|
|
project(mg_msgs)
|
|
|
|
if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
|
|
add_compile_options(-Wall -Wextra -Wpedantic)
|
|
endif()
|
|
|
|
# find dependencies
|
|
find_package(ament_cmake REQUIRED)
|
|
find_package(rosidl_default_generators REQUIRED)
|
|
|
|
rosidl_generate_interfaces(${PROJECT_NAME}
|
|
"msg/Path.msg"
|
|
"msg/Point2d.msg"
|
|
"action/MoveGlobal.action"
|
|
"action/MoveStraight.action"
|
|
"action/MovePoint.action"
|
|
"action/LookAt.action"
|
|
"action/Rotate.action"
|
|
"srv/CalcPath.srv"
|
|
"srv/SendDouble.srv"
|
|
"srv/I2c.srv"
|
|
)
|
|
|
|
ament_package() |