Last change
on this file since 382 was 302, checked in by Sanahuja Guillaume, 6 years ago |
modifs nouveau build system
|
File size:
830 bytes
|
Line | |
---|
1 | PROJECT(MixedReality_uav_virtual)
|
---|
2 | cmake_minimum_required(VERSION 2.8)
|
---|
3 |
|
---|
4 | SET(FLAIR_USE_FILTER TRUE)
|
---|
5 | SET(FLAIR_USE_SENSOR_ACTUATOR TRUE)
|
---|
6 | SET(FLAIR_USE_VISION_FILTER TRUE)
|
---|
7 | SET(FLAIR_USE_META TRUE)
|
---|
8 | SET(FLAIR_USE_VRPN TRUE)
|
---|
9 |
|
---|
10 | include($ENV{FLAIR_ROOT}/flair-src/cmake-modules/GlobalCmakeFlair.cmake)
|
---|
11 |
|
---|
12 | if("${CMAKE_SYSTEM_PROCESSOR_DEFAULTTUNE}" MATCHES "core2-64")
|
---|
13 |
|
---|
14 | SET(SRC_FILES
|
---|
15 | src/main.cpp
|
---|
16 | src/App.cpp
|
---|
17 | )
|
---|
18 |
|
---|
19 | FLAIR_DEMO(${PROJECT_NAME} "${SRC_FILES}"
|
---|
20 | DEST_DIR MixedReality_virtual
|
---|
21 | COPY_RESOURCES
|
---|
22 | )
|
---|
23 |
|
---|
24 | else()
|
---|
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()
|
---|
30 | endif()
|
---|
Note:
See
TracBrowser
for help on using the repository browser.