source: flair-src/trunk/tools/Controller/Mavlink/CMakeLists.txt@ 376

Last change on this file since 376 was 302, checked in by Sanahuja Guillaume, 6 years ago

modifs nouveau build system

File size: 575 bytes
RevLine 
[88]1PROJECT(MavPlanner)
2cmake_minimum_required(VERSION 2.8)
[302]3include($ENV{FLAIR_ROOT}/flair-src/cmake-modules/GlobalCmakeFlair.cmake)
[88]4
[107]5if("${CMAKE_SYSTEM_PROCESSOR}" MATCHES "i686" OR "${CMAKE_SYSTEM_PROCESSOR}" MATCHES "i586" OR "${CMAKE_SYSTEM_PROCESSOR}" MATCHES "x86_64")
6
[88]7INCLUDE_DIRECTORIES(
8 ${CMAKE_SOURCE_DIR}/src/mavlink_generated_messages/common
9)
10
11FILE(GLOB MAVPLANNER_SRC "${CMAKE_CURRENT_SOURCE_DIR}/src/*.cpp")
12
[302]13FLAIR_NRT_TOOL(${PROJECT_NAME} "${MAVPLANNER_SRC}")
[88]14
[107]15else()
16warn("${PROJECT_NAME} will not be built for ${CMAKE_SYSTEM_PROCESSOR} architecture")
17endif()
Note: See TracBrowser for help on using the repository browser.