Last change
on this file since 423 was 324, checked in by Sanahuja Guillaume, 5 years ago |
removing opencv dependency
|
File size:
808 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/irrlicht
|
---|
15 | )
|
---|
16 |
|
---|
17 | FILE(GLOB FLAIRSIMU_SRC "${CMAKE_CURRENT_SOURCE_DIR}/src/*.cpp")
|
---|
18 |
|
---|
19 | add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/no_gl)
|
---|
20 | if("${CMAKE_SYSTEM_PROCESSOR}" MATCHES "i686" OR "${CMAKE_SYSTEM_PROCESSOR}" MATCHES "i586" OR "${CMAKE_SYSTEM_PROCESSOR}" MATCHES "x86_64")
|
---|
21 | add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/gl)
|
---|
22 | endif()
|
---|
Note:
See
TracBrowser
for help on using the repository browser.