]> Creatis software - creaEnvironment.git/blob - CMakeLists.txt
a121e98ff07f2cdbe3a10ab0547393a4d5ee9b5b
[creaEnvironment.git] / CMakeLists.txt
1 CMAKE_MINIMUM_REQUIRED(VERSION 2.4)
2
3 PROJECT(creaEnvironment)
4
5 SET(PROJECT_MAJOR_VERSION 1)
6 SET(PROJECT_MINOR_VERSION 0)
7 SET(PROJECT_BUILD_VERSION 0)
8
9 SET(CREA_VERBOSE_CMAKE TRUE)
10
11 FIND_PACKAGE(crea REQUIRED)
12 IF (crea_FOUND)
13   INCLUDE(${crea_USE_FILE})
14 ENDIF(crea_FOUND)
15
16 CREA_PREVENT_IN_SOURCE_BUILD()
17
18 SET(USE_CREA OFF)
19 SET(USE_GDCM OFF)
20 SET(USE_GDCM_VTK OFF)
21 SET(USE_WXWIDGETS OFF)
22 SET(USE_VTK OFF)
23 SET(USE_ITK OFF)
24 SET(USE_BOOST OFF)
25
26 CREA_FIND_AND_USE_LIBRARIES()
27
28 SET(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR})
29 SET(LIBRARY_OUTPUT_PATH ${PROJECT_BINARY_DIR})
30 MARK_AS_ADVANCED(
31   CMAKE_BACKWARDS_COMPATIBILITY
32   EXECUTABLE_OUTPUT_PATH 
33   LIBRARY_OUTPUT_PATH
34   )
35
36
37 SUBDIRS(lib)
38 SUBDIRS(install)
39 #SUBDIRS(appli)