]> Creatis software - bbtk.git/blob - samples/CMakeLists.txt
bbAlways vs Always (to avoid troubles with X11 at compile time)
[bbtk.git] / samples / CMakeLists.txt
1 #
2 # Test CMake version
3 #
4 CMAKE_MINIMUM_REQUIRED(VERSION 2.4)
5 #MARK_AS_ADVANCED( FORCE CMAKE_BACKWARDS_COMPATIBILITY )
6
7 # for CMake 2.6 corrected behaviour (see "cmake --help-policy CMP0003")
8 IF(COMMAND cmake_policy AND ${CMAKE_MAJOR_VERSION} EQUAL 2 AND ${CMAKE_MINOR_VERSION} GREATER 4)
9   CMAKE_POLICY(SET CMP0003 NEW)
10   CMAKE_POLICY(SET CMP0005 NEW)
11 ENDIF(COMMAND cmake_policy AND ${CMAKE_MAJOR_VERSION} EQUAL 2 AND ${CMAKE_MINOR_VERSION} GREATER 4)
12
13 PROJECT(BBTK_SAMPLES)
14
15 SET(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR})
16
17 ADD_SUBDIRECTORY(SampleWidgetsBase)
18 ADD_SUBDIRECTORY(SampleOutputObserver)
19 ADD_SUBDIRECTORY(SampleInsertWxBlackBoxInOwnFrame)
20 ADD_SUBDIRECTORY(SampleInterpreter)