1 # ---------------------------------------------------------------------
3 # Copyright (c) CREATIS (Centre de Recherche en Acquisition et Traitement de l'Image
5 # Authors : Eduardo Davila, Frederic Cervenansky, Claire Mouton
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.
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
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 # ------------------------------------------------------------------------
24 CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
26 ###################################
28 ###################################
30 #==================================
32 SET(PROJECT_MAJOR_VERSION 2)
33 SET(PROJECT_MINOR_VERSION 2)
34 SET(PROJECT_BUILD_VERSION 0)
35 #==================================
38 set (CMAKE_MODULE_PATH ${CMAKE_INSTALL_PREFIX}/share/cmake/Module)
40 #==================================
42 SET(CREA_VERBOSE_CMAKE TRUE)
45 #FIND_PACKAGE(crea REQUIRED)
47 # INCLUDE(${crea_USE_FILE})
50 #==================================
52 #==================================
53 # Do not allow to build inside the source tree
55 #CREA_PREVENT_IN_SOURCE_BUILD()
56 #==================================
58 #==================================
59 # Libraries/tools used
60 # Note : Set USE_CREA to ON
61 # if you need to LINK against crea
62 # (and not only use its macros)
67 SET(USE_WXWIDGETS OFF)
68 SET(USE_KWWIDGETS OFF)
76 #CREA_FIND_AND_USE_LIBRARIES()
77 #==================================
79 #==================================
80 # Where to put executables and libs
81 SET(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR})
82 SET(LIBRARY_OUTPUT_PATH ${PROJECT_BINARY_DIR})
84 CMAKE_BACKWARDS_COMPATIBILITY
85 EXECUTABLE_OUTPUT_PATH
88 #==================================
91 #==================================
93 #ADD_SUBDIRECTORY(appli)
94 #ADD_SUBDIRECTORY(lib)
95 ADD_SUBDIRECTORY(install)
96 #==================================
97 #==================================