source: flair-src/trunk/tools/VrpnLite/CMakeLists.txt@ 452

Last change on this file since 452 was 449, checked in by Sanahuja Guillaume, 3 years ago

add resources

File size: 738 bytes
RevLine 
[308]1PROJECT(vrpnlite)
2cmake_minimum_required(VERSION 2.8)
3include($ENV{FLAIR_ROOT}/flair-src/cmake-modules/GlobalCmakeFlair.cmake)
4
[449]5if("${CMAKE_SYSTEM_PROCESSOR}" MATCHES "x86_64" OR "${CMAKE_SYSTEM_PROCESSOR_DEFAULTTUNE}" MATCHES "cortexa7thf-neon-vfpv4")
[308]6
7SET(FLAIR_USE_SENSOR_ACTUATOR TRUE)
8set(FLAIR_USE_VRPN true)
9
10SET(SRC_FILES
11 src/VrpnLite.cpp
12 src/main.cpp
13)
14
15FLAIR_NRT_TOOL(${PROJECT_NAME} "${SRC_FILES}" COPY_RESOURCES)
16
17else()
18 if(DEFINED CMAKE_SYSTEM_PROCESSOR_DEFAULTTUNE)
19 warn("${PROJECT_NAME} will not be built for ${CMAKE_SYSTEM_PROCESSOR_DEFAULTTUNE} architecture")
20 else()
21 warn("${PROJECT_NAME} will not be built for ${CMAKE_SYSTEM_PROCESSOR} architecture")
22 endif()
23endif()
Note: See TracBrowser for help on using the repository browser.