source: flair-src/branches/sanscv/demos/MixedReality/virtual/simulator/CMakeLists.txt@ 324

Last change on this file since 324 was 324, checked in by Sanahuja Guillaume, 5 years ago

removing opencv dependency

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