source: flair-src/trunk/demos/TwoWheelRobotCircleFollower/CMakeLists.txt @ 376

Last change on this file since 376 was 376, checked in by Sanahuja Guillaume, 11 months ago

up ugv

File size: 584 bytes
Line 
1PROJECT(TwoWheelRobotCircleFollower)
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.