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

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

add vrpnlite tool

File size: 621 bytes
Line 
1PROJECT(vrnbridge)
2cmake_minimum_required(VERSION 2.8)
3include($ENV{FLAIR_ROOT}/flair-src/cmake-modules/GlobalCmakeFlair.cmake)
4
5if("${CMAKE_SYSTEM_PROCESSOR}" MATCHES "x86_64")
6
7set(FLAIR_USE_VRPN true)
8
9include_directories(
10 ${CMAKE_SYSROOT}/usr/include/vrpn
11)
12
13FLAIR_NRT_TOOL(${PROJECT_NAME} src/main.cpp)
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.