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