source: flair-src/trunk/demos/OpticalFlow/uav/CMakeLists.txt @ 302

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

modifs nouveau build system

File size: 795 bytes
RevLine 
[122]1PROJECT(OpticalFlow)
2cmake_minimum_required(VERSION 2.8)
[302]3include($ENV{FLAIR_ROOT}/flair-src/cmake-modules/GlobalCmakeFlair.cmake)
[122]4
[224]5if(NOT "${CMAKE_SYSTEM_PROCESSOR_DEFAULTTUNE}" MATCHES "armv5te")
6
[122]7SET(FLAIR_USE_FILTER TRUE)
8SET(FLAIR_USE_SENSOR_ACTUATOR TRUE)
[123]9SET(FLAIR_USE_VISION_FILTER TRUE)
[122]10SET(FLAIR_USE_META TRUE)
11
12SET(SRC_FILES
[297]13        src/main.cpp
14        src/DemoOpticalFlow.cpp
[122]15)
16
[302]17FLAIR_DEMO(${PROJECT_NAME} "${SRC_FILES}"
18           DEST_DIR OpticalFlow
19           COPY_RESOURCES
[122]20)
21
[224]22else()
23    if(DEFINED CMAKE_SYSTEM_PROCESSOR_DEFAULTTUNE)
24        warn("${PROJECT_NAME} will not be built for ${CMAKE_SYSTEM_PROCESSOR_DEFAULTTUNE} architecture")
25    else()
26        warn("${PROJECT_NAME} will not be built for ${CMAKE_SYSTEM_PROCESSOR} architecture")
27    endif()
28endif()
Note: See TracBrowser for help on using the repository browser.