]> Creatis software - creaToolsTools.git/blob - windows/crea_ThirdParty_dlls/CMakeLists.txt
2424 creaToolsTools Feature New Normal Add creaVtk Library in Windows version
[creaToolsTools.git] / windows / crea_ThirdParty_dlls / 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 PROJECT(crea_ThirdParty_dlls)
26
27 SET(PROJECT_MAJOR_VERSION 2)
28 SET(PROJECT_MINOR_VERSION 0)
29 SET(PROJECT_BUILD_VERSION 0)
30
31 SET(CREA_VERBOSE_CMAKE TRUE)
32
33 FIND_PACKAGE(crea REQUIRED)
34 IF (crea_FOUND)
35   INCLUDE(${crea_USE_FILE})
36 ENDIF(crea_FOUND)
37
38 SET(USE_GDCM ON)
39 SET(USE_GDCM_VTK ON)
40 SET(USE_WXWIDGETS ON)
41 SET(USE_KWWIDGETS ON)
42 SET(USE_VTK ON)
43 SET(USE_ITK ON)
44 #SET(USE_BOOST ON)
45
46 CREA_FIND_AND_USE_LIBRARIES()
47
48 SET(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR})
49 SET(LIBRARY_OUTPUT_PATH ${PROJECT_BINARY_DIR})
50 MARK_AS_ADVANCED(
51   CMAKE_BACKWARDS_COMPATIBILITY
52   EXECUTABLE_OUTPUT_PATH 
53   LIBRARY_OUTPUT_PATH
54   )
55
56 # Includes 
57 INCLUDE_DIRECTORIES(
58 #  ${PROJECT_BINARY_DIR}
59   ${PROJECT_SOURCE_DIR}/src
60   )
61
62 IF(WIN32)
63 INCLUDE_DIRECTORIES(${PROJECT_SOURCE_DIR}/win32)
64 LINK_DIRECTORIES(${PROJECT_SOURCE_DIR}/win32)
65 ENDIF(WIN32)
66
67 #SUBDIRS(src)
68 #SUBDIRS(appli)
69 #SUBDIRS(bbtk)
70 SUBDIRS(install)