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

Last change on this file was 302, checked in by Sanahuja Guillaume, 3 years ago

modifs nouveau build system

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