source: flair-src/trunk/lib/FlairSimulator/CMakeLists.txt@ 302

Last change on this file since 302 was 302, checked in by Sanahuja Guillaume, 6 years ago

modifs nouveau build system

File size: 847 bytes
Line 
1PROJECT(FlairSimulator)
2cmake_minimum_required(VERSION 2.8)
3include($ENV{FLAIR_ROOT}/flair-src/cmake-modules/GlobalCmakeFlair.cmake)
4
5find_package(LibXml2 REQUIRED)
6
7INCLUDE_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
18FILE(GLOB FLAIRSIMU_SRC "${CMAKE_CURRENT_SOURCE_DIR}/src/*.cpp")
19
20add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/no_gl)
21if("${CMAKE_SYSTEM_PROCESSOR}" MATCHES "i686" OR "${CMAKE_SYSTEM_PROCESSOR}" MATCHES "i586" OR "${CMAKE_SYSTEM_PROCESSOR}" MATCHES "x86_64")
22add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/gl)
23endif()
Note: See TracBrowser for help on using the repository browser.