mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 14:38:30 -04:00
5d6bed2814
these are needed for the latest PX4Firmware build
17 lines
420 B
CMake
17 lines
420 B
CMake
cmake_minimum_required(VERSION 2.8.3)
|
|
project(gencpp)
|
|
find_package(catkin REQUIRED COMPONENTS genmsg)
|
|
|
|
catkin_package(
|
|
CATKIN_DEPENDS genmsg
|
|
CFG_EXTRAS gencpp-extras.cmake
|
|
)
|
|
|
|
add_subdirectory(scripts)
|
|
|
|
file(WRITE ${CATKIN_DEVEL_PREFIX}/${GENMSG_LANGS_DESTINATION}/gencpp "C++")
|
|
install(FILES ${CATKIN_DEVEL_PREFIX}/${GENMSG_LANGS_DESTINATION}/gencpp
|
|
DESTINATION ${GENMSG_LANGS_DESTINATION})
|
|
|
|
catkin_python_setup()
|