source: flair-src/trunk/demos/DemoOpticalFlow/CMakeLists.txt @ 405

Last change on this file since 405 was 405, checked in by Sanahuja Guillaume, 7 months ago

adapt demos for clone demos script

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