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

Last change on this file since 435 was 401, checked in by Sanahuja Guillaume, 4 years ago

resolve bug when not using hdsvisionfilter but using cameras on dm3730

File size: 795 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_META TRUE)
7SET(FLAIR_USE_VRPN TRUE)
8
9include($ENV{FLAIR_ROOT}/flair-src/cmake-modules/GlobalCmakeFlair.cmake)
10
11if("${CMAKE_SYSTEM_PROCESSOR_DEFAULTTUNE}" MATCHES "core2-64")
12
13SET(SRC_FILES
14 src/main.cpp
15 src/App.cpp
16)
17
18FLAIR_DEMO(${PROJECT_NAME} "${SRC_FILES}"
19 DEST_DIR MixedReality_virtual
20 COPY_RESOURCES
21)
22
23else()
24 if(DEFINED CMAKE_SYSTEM_PROCESSOR_DEFAULTTUNE)
25 warn("${PROJECT_NAME} will not be built for ${CMAKE_SYSTEM_PROCESSOR_DEFAULTTUNE} architecture")
26 else()
27 warn("${PROJECT_NAME} will not be built for ${CMAKE_SYSTEM_PROCESSOR} architecture")
28 endif()
29endif()
Note: See TracBrowser for help on using the repository browser.