Last change
on this file since 414 was 396, checked in by Sanahuja Guillaume, 4 years ago |
add cmake minimum
|
File size:
621 bytes
|
Rev | Line | |
---|
[371] | 1 | PROJECT(TwoWheelRobotCircleFollower)
|
---|
[396] | 2 | cmake_minimum_required(VERSION 2.8)
|
---|
[371] | 3 | include($ENV{FLAIR_ROOT}/flair-src/cmake-modules/GlobalCmakeFlair.cmake)
|
---|
| 4 |
|
---|
[376] | 5 | if("${CMAKE_SYSTEM_PROCESSOR_DEFAULTTUNE}" MATCHES "core2-64")
|
---|
| 6 |
|
---|
[371] | 7 | add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/simulator)
|
---|
[376] | 8 | add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/ugv)
|
---|
| 9 |
|
---|
| 10 | else()
|
---|
| 11 | if(DEFINED CMAKE_SYSTEM_PROCESSOR_DEFAULTTUNE)
|
---|
| 12 | warn("${PROJECT_NAME} will not be built for ${CMAKE_SYSTEM_PROCESSOR_DEFAULTTUNE} architecture")
|
---|
| 13 | else()
|
---|
| 14 | warn("${PROJECT_NAME} will not be built for ${CMAKE_SYSTEM_PROCESSOR} architecture")
|
---|
| 15 | endif()
|
---|
| 16 | endif()
|
---|
Note:
See
TracBrowser
for help on using the repository browser.