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