Rev | Line | |
---|
[299] | 1 | PROJECT(OpticalFlow)
|
---|
[312] | 2 | include($ENV{FLAIR_ROOT}/flair-src/cmake-modules/GlobalCmakeFlair.cmake)
|
---|
[299] | 3 |
|
---|
[300] | 4 | if(NOT "${CMAKE_SYSTEM_PROCESSOR_DEFAULTTUNE}" MATCHES "armv5te")
|
---|
| 5 |
|
---|
[299] | 6 | add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/simulator)
|
---|
| 7 | add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/uav)
|
---|
[300] | 8 |
|
---|
| 9 | else()
|
---|
| 10 | if(DEFINED CMAKE_SYSTEM_PROCESSOR_DEFAULTTUNE)
|
---|
| 11 | warn("${PROJECT_NAME} will not be built for ${CMAKE_SYSTEM_PROCESSOR_DEFAULTTUNE} architecture")
|
---|
| 12 | else()
|
---|
| 13 | warn("${PROJECT_NAME} will not be built for ${CMAKE_SYSTEM_PROCESSOR} architecture")
|
---|
| 14 | endif()
|
---|
| 15 | endif()
|
---|
Note:
See
TracBrowser
for help on using the repository browser.