Last change
on this file since 319 was 308, checked in by Sanahuja Guillaume, 6 years ago |
add vrpnlite tool
|
File size:
621 bytes
|
Rev | Line | |
---|
[232] | 1 | PROJECT(vrnbridge)
|
---|
| 2 | cmake_minimum_required(VERSION 2.8)
|
---|
[302] | 3 | include($ENV{FLAIR_ROOT}/flair-src/cmake-modules/GlobalCmakeFlair.cmake)
|
---|
[232] | 4 |
|
---|
| 5 | if("${CMAKE_SYSTEM_PROCESSOR}" MATCHES "x86_64")
|
---|
| 6 |
|
---|
[308] | 7 | set(FLAIR_USE_VRPN true)
|
---|
| 8 |
|
---|
[232] | 9 | include_directories(
|
---|
| 10 | ${CMAKE_SYSROOT}/usr/include/vrpn
|
---|
| 11 | )
|
---|
| 12 |
|
---|
[308] | 13 | FLAIR_NRT_TOOL(${PROJECT_NAME} src/main.cpp)
|
---|
[232] | 14 |
|
---|
| 15 | else()
|
---|
| 16 | if(DEFINED CMAKE_SYSTEM_PROCESSOR_DEFAULTTUNE)
|
---|
| 17 | warn("${PROJECT_NAME} will not be built for ${CMAKE_SYSTEM_PROCESSOR_DEFAULTTUNE} architecture")
|
---|
| 18 | else()
|
---|
| 19 | warn("${PROJECT_NAME} will not be built for ${CMAKE_SYSTEM_PROCESSOR} architecture")
|
---|
| 20 | endif()
|
---|
| 21 | endif()
|
---|
Note:
See
TracBrowser
for help on using the repository browser.