Last change
on this file since 303 was 302, checked in by Sanahuja Guillaume, 6 years ago |
modifs nouveau build system
|
File size:
847 bytes
|
Line | |
---|
1 | PROJECT(FlairSimulator)
|
---|
2 | cmake_minimum_required(VERSION 2.8)
|
---|
3 | include($ENV{FLAIR_ROOT}/flair-src/cmake-modules/GlobalCmakeFlair.cmake)
|
---|
4 |
|
---|
5 | find_package(LibXml2 REQUIRED)
|
---|
6 |
|
---|
7 | INCLUDE_DIRECTORIES(
|
---|
8 | ${LIBXML2_INCLUDE_DIR}
|
---|
9 | ${CMAKE_CURRENT_SOURCE_DIR}/src
|
---|
10 | ${CMAKE_CURRENT_SOURCE_DIR}/src/unexported
|
---|
11 | ${CMAKE_CURRENT_SOURCE_DIR}/../FlairCore/src
|
---|
12 | ${CMAKE_CURRENT_SOURCE_DIR}/../FlairSensorActuator/src
|
---|
13 | ${CMAKE_SYSROOT}/usr/include/vrpn
|
---|
14 | ${CMAKE_SYSROOT}/usr/include/opencv1
|
---|
15 | ${CMAKE_SYSROOT}/usr/include/irrlicht
|
---|
16 | )
|
---|
17 |
|
---|
18 | FILE(GLOB FLAIRSIMU_SRC "${CMAKE_CURRENT_SOURCE_DIR}/src/*.cpp")
|
---|
19 |
|
---|
20 | add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/no_gl)
|
---|
21 | if("${CMAKE_SYSTEM_PROCESSOR}" MATCHES "i686" OR "${CMAKE_SYSTEM_PROCESSOR}" MATCHES "i586" OR "${CMAKE_SYSTEM_PROCESSOR}" MATCHES "x86_64")
|
---|
22 | add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/gl)
|
---|
23 | endif()
|
---|
Note:
See
TracBrowser
for help on using the repository browser.