source: flair-src/trunk/demos/TwoWheelRobotSimpleFleet/CMakeLists.txt @ 390

Last change on this file since 390 was 390, checked in by Sanahuja Guillaume, 10 months ago

add simple fleet demo for ugv

File size: 581 bytes
Line 
1PROJECT(TwoWheelRobotSimpleFleet)
2include($ENV{FLAIR_ROOT}/flair-src/cmake-modules/GlobalCmakeFlair.cmake)
3
4if("${CMAKE_SYSTEM_PROCESSOR_DEFAULTTUNE}" MATCHES "core2-64")
5
6add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/simulator)
7add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/ugv)
8
9else()
10    if(DEFINED CMAKE_SYSTEM_PROCESSOR_DEFAULTTUNE)
11        warn("${PROJECT_NAME} will not be built for ${CMAKE_SYSTEM_PROCESSOR_DEFAULTTUNE} architecture")
12    else()
13        warn("${PROJECT_NAME} will not be built for ${CMAKE_SYSTEM_PROCESSOR} architecture")
14    endif()
15endif()
Note: See TracBrowser for help on using the repository browser.