source: flair-src/trunk/tools/VrpnBridge/CMakeLists.txt@ 437

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

add vrpnlite tool

File size: 621 bytes
RevLine 
[232]1PROJECT(vrnbridge)
2cmake_minimum_required(VERSION 2.8)
[302]3include($ENV{FLAIR_ROOT}/flair-src/cmake-modules/GlobalCmakeFlair.cmake)
[232]4
5if("${CMAKE_SYSTEM_PROCESSOR}" MATCHES "x86_64")
6
[308]7set(FLAIR_USE_VRPN true)
8
[232]9include_directories(
10 ${CMAKE_SYSROOT}/usr/include/vrpn
11)
12
[308]13FLAIR_NRT_TOOL(${PROJECT_NAME} src/main.cpp)
[232]14
15else()
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()
21endif()
Note: See TracBrowser for help on using the repository browser.