]> Creatis software - creaToolsTools.git/blob - Install_ThirdParty/cmake/crea_ThirdParty_Libraries/CMakeLists.txt
Feature #1773 Add licence terms for all files.
[creaToolsTools.git] / Install_ThirdParty / cmake / crea_ThirdParty_Libraries / CMakeLists.txt
1 # ---------------------------------------------------------------------
2 #
3 # Copyright (c) CREATIS (Centre de Recherche en Acquisition et Traitement de l'Image 
4 #                        pour la Santé)
5 # Authors : Eduardo Davila, Frederic Cervenansky, Claire Mouton
6 #
7 #  This software is governed by the CeCILL-B license under French law and 
8 #  abiding by the rules of distribution of free software. You can  use, 
9 #  modify and/ or redistribute the software under the terms of the CeCILL-B 
10 #  license as circulated by CEA, CNRS and INRIA at the following URL 
11 #  http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html 
12 #  or in the file LICENSE.txt.
13 #
14 #  As a counterpart to the access to the source code and  rights to copy,
15 #  modify and redistribute granted by the license, users are provided only
16 #  with a limited warranty  and the software's author,  the holder of the
17 #  economic rights,  and the successive licensors  have only  limited
18 #  liability. 
19 #
20 #  The fact that you are presently reading this means that you have had
21 #  knowledge of the CeCILL-B license and that you accept its terms.
22 # ------------------------------------------------------------------------  
23
24 CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
25
26 ###################################
27 PROJECT(crea_ThirdParty_Libraries)
28 ###################################
29
30 #==================================
31 # The project version
32 SET(PROJECT_MAJOR_VERSION 3)
33 SET(PROJECT_MINOR_VERSION 1)
34 SET(PROJECT_BUILD_VERSION 0)
35 #==================================
36
37 #==================================
38 # Find crea
39 SET(CREA_VERBOSE_CMAKE TRUE)
40 #FIND_PACKAGE(crea REQUIRED)
41 #IF (crea_FOUND)
42 #  INCLUDE(${crea_USE_FILE})
43 #ENDIF(crea_FOUND)
44 #==================================
45
46 #==================================
47 # Do not allow to build inside the source tree
48 #CREA_PREVENT_IN_SOURCE_BUILD()
49 #==================================
50
51 #==================================
52 # Libraries/tools used
53 # Note : Set USE_CREA to ON
54 #  if you need to LINK against crea
55 #  (and not only use its macros)
56 #SET(USE_CREA      OFF)
57 #SET(USE_GDCM      OFF)
58 #SET(USE_GDCM_VTK  OFF)
59 #SET(USE_GDCM2     OFF)
60 #SET(USE_WXWIDGETS OFF)
61 #SET(USE_KWWIDGETS OFF)
62 #SET(USE_VTK       OFF)
63 #SET(USE_ITK       OFF)
64 #SET(USE_BOOST     OFF)
65 #SET(USE_DOXYGEN   OFF)
66 #SET(USE_LATEX     OFF)
67 #SET(USE_TTH       OFF)
68 #CREA_FIND_AND_USE_LIBRARIES()
69 #==================================
70
71 #==================================
72 # Where to put executables and libs
73 SET(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR})
74 SET(LIBRARY_OUTPUT_PATH ${PROJECT_BINARY_DIR})
75 MARK_AS_ADVANCED(
76   CMAKE_BACKWARDS_COMPATIBILITY
77   EXECUTABLE_OUTPUT_PATH
78   LIBRARY_OUTPUT_PATH
79   )
80 #==================================
81
82
83 #==================================
84 # Subdirs
85 #SUBDIRS(appli)
86 #SUBDIRS(lib)
87 SUBDIRS(install)
88 #==================================
89 #==================================