Line | |
---|
1 | PROJECT(TwoWheelRobotCircleFollower)
|
---|
2 | include($ENV{FLAIR_ROOT}/flair-src/cmake-modules/GlobalCmakeFlair.cmake)
|
---|
3 |
|
---|
4 | if("${CMAKE_SYSTEM_PROCESSOR_DEFAULTTUNE}" MATCHES "core2-64")
|
---|
5 |
|
---|
6 | add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/simulator)
|
---|
7 | add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/ugv)
|
---|
8 |
|
---|
9 | else()
|
---|
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()
|
---|
15 | endif()
|
---|
Note:
See
TracBrowser
for help on using the repository browser.