Line | |
---|
1 | PROJECT(OpticalFlow)
|
---|
2 |
|
---|
3 | if(NOT "${CMAKE_SYSTEM_PROCESSOR_DEFAULTTUNE}" MATCHES "armv5te")
|
---|
4 |
|
---|
5 | add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/simulator)
|
---|
6 | add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/uav)
|
---|
7 |
|
---|
8 | else()
|
---|
9 | if(DEFINED CMAKE_SYSTEM_PROCESSOR_DEFAULTTUNE)
|
---|
10 | warn("${PROJECT_NAME} will not be built for ${CMAKE_SYSTEM_PROCESSOR_DEFAULTTUNE} architecture")
|
---|
11 | else()
|
---|
12 | warn("${PROJECT_NAME} will not be built for ${CMAKE_SYSTEM_PROCESSOR} architecture")
|
---|
13 | endif()
|
---|
14 | endif()
|
---|
Note:
See
TracBrowser
for help on using the repository browser.