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

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

modifs nouveau build system

File size: 847 bytes
RevLine 
[8]1PROJECT(FlairSimulator)
2cmake_minimum_required(VERSION 2.8)
[302]3include($ENV{FLAIR_ROOT}/flair-src/cmake-modules/GlobalCmakeFlair.cmake)
[8]4
5find_package(LibXml2 REQUIRED)
6
7INCLUDE_DIRECTORIES(
[302]8 ${LIBXML2_INCLUDE_DIR}
[8]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
[211]14 ${CMAKE_SYSROOT}/usr/include/opencv1
[8]15 ${CMAKE_SYSROOT}/usr/include/irrlicht
16)
17
[302]18FILE(GLOB FLAIRSIMU_SRC "${CMAKE_CURRENT_SOURCE_DIR}/src/*.cpp")
[8]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")
[45]22add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/gl)
[8]23endif()
Note: See TracBrowser for help on using the repository browser.