ardupilot/mk/PX4/Tools/gencpp/CMakeLists.txt
Andrew Tridgell 5d6bed2814 PX4: added genmsg and gencpp tools
these are needed for the latest PX4Firmware build
2015-02-14 12:25:44 +11:00

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()