source: flair-src/trunk/demos/MixedReality/virtual/uav/CMakeLists.txt@ 354

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

modifs nouveau build system

File size: 830 bytes
Line 
1PROJECT(MixedReality_uav_virtual)
2cmake_minimum_required(VERSION 2.8)
3
4SET(FLAIR_USE_FILTER TRUE)
5SET(FLAIR_USE_SENSOR_ACTUATOR TRUE)
6SET(FLAIR_USE_VISION_FILTER TRUE)
7SET(FLAIR_USE_META TRUE)
8SET(FLAIR_USE_VRPN TRUE)
9
10include($ENV{FLAIR_ROOT}/flair-src/cmake-modules/GlobalCmakeFlair.cmake)
11
12if("${CMAKE_SYSTEM_PROCESSOR_DEFAULTTUNE}" MATCHES "core2-64")
13
14SET(SRC_FILES
15 src/main.cpp
16 src/App.cpp
17)
18
19FLAIR_DEMO(${PROJECT_NAME} "${SRC_FILES}"
20 DEST_DIR MixedReality_virtual
21 COPY_RESOURCES
22)
23
24else()
25 if(DEFINED CMAKE_SYSTEM_PROCESSOR_DEFAULTTUNE)
26 warn("${PROJECT_NAME} will not be built for ${CMAKE_SYSTEM_PROCESSOR_DEFAULTTUNE} architecture")
27 else()
28 warn("${PROJECT_NAME} will not be built for ${CMAKE_SYSTEM_PROCESSOR} architecture")
29 endif()
30endif()
Note: See TracBrowser for help on using the repository browser.