Last change
on this file since 365 was 302, checked in by Sanahuja Guillaume, 6 years ago |
modifs nouveau build system
|
File size:
730 bytes
|
Line | |
---|
1 | PROJECT(Flair)
|
---|
2 | cmake_minimum_required(VERSION 2.8)
|
---|
3 | include($ENV{FLAIR_ROOT}/flair-src/cmake-modules/GlobalCmakeFlair.cmake)
|
---|
4 | include(${CMAKE_ROOT}/Modules/ExternalProject.cmake)
|
---|
5 |
|
---|
6 | #we use external project to force lib install before compiling demos and tools
|
---|
7 | ExternalProject_add(FlairLibs
|
---|
8 | SOURCE_DIR ${CMAKE_SOURCE_DIR}/lib
|
---|
9 | BINARY_DIR ${CMAKE_CURRENT_BINARY_DIR}/FlairLibs
|
---|
10 | CMAKE_ARGS -DCMAKE_TOOLCHAIN_FILE=${CMAKE_TOOLCHAIN_FILE} -DCMAKE_CODELITE_USE_TARGETS=ON
|
---|
11 | CMAKE_GENERATOR "CodeLite - Unix Makefiles"
|
---|
12 | )
|
---|
13 |
|
---|
14 | if (DEFINED FOUND_HDS_DIR)
|
---|
15 | add_subdirectory($ENV{FLAIR_ROOT}/flair-hds/src flair-hds)
|
---|
16 | endif()
|
---|
17 |
|
---|
18 | add_subdirectory(${CMAKE_SOURCE_DIR}/tools)
|
---|
19 | add_subdirectory(${CMAKE_SOURCE_DIR}/demos)
|
---|
Note:
See
TracBrowser
for help on using the repository browser.