]> Creatis software - creaToolsTools.git/blob - Install_mingw64/Install_CreaTools/scripts/creaImageIOVariables.bat
61dab8c7310dc9e7bc37bfe5c1873ac212f81611
[creaToolsTools.git] / Install_mingw64 / Install_CreaTools / scripts / creaImageIOVariables.bat
1 REM ---------------------------------------------------------------------
2 REM
3 REM Copyright (c) CREATIS (Centre de Recherche en Acquisition et Traitement de l'Image 
4 REM                        pour la Santé)
5 REM Authors : Eduardo Davila, Frederic Cervenansky, Claire Mouton
6 REM
7 REM  This software is governed by the CeCILL-B license under French law and 
8 REM  abiding by the rules of distribution of free software. You can  use, 
9 REM  modify and/ or redistribute the software under the terms of the CeCILL-B 
10 REM  license as circulated by CEA, CNRS and INRIA at the following URL 
11 REM  http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html 
12 REM  or in the file LICENSE.txt.
13 REM
14 REM  As a counterpart to the access to the source code and  rights to copy,
15 REM  modify and redistribute granted by the license, users are provided only
16 REM  with a limited warranty  and the software's author,  the holder of the
17 REM  economic rights,  and the successive licensors  have only  limited
18 REM  liability. 
19 REM
20 REM  The fact that you are presently reading this means that you have had
21 REM  knowledge of the CeCILL-B license and that you accept its terms.
22 REM ------------------------------------------------------------------------  
23
24 @echo off
25 echo ----------------------------
26 echo ----creaIOVariable.bat------
27 echo ----------------------------
28
29 echo creatoolsGeneration = %1
30 echo creaimagesource = %2
31 echo docgeneration = %3
32 echo buildType = %4
33
34 set binfolder=%1\c_%buildtype%%platforme%\cb\%2Bin
35 cd %binfolder%
36
37 IF %4==Debug (
38         cmake -D WXWIDGETS_USE_DEBUG:BOOL=ON CMakeCache.txt
39 )
40
41 ::cmake -D BBTK_DIR:PATH=%1\creatools_%buildtype%%platforme%\creatools_install\bbtk CMakeCache.txt
42 ::cmake -D crea_DIR:PATH=%1\creatools_%buildtype%%platforme%\creatools_install\crea -D BUILD_BBTK_PACKAGE_creaImageIO:BOOL=ON -D creaBruker_DIR:PATH=%1\creatools_%buildtype%%platforme%\creatools_install\creaBruker -D USE_GDCM:BOOL=ON CMakeCache.txt
43 ::cmake -D BUILD_DOXYGEN_DOC:BOOL=%3 -D BUILD_BBTK_PACKAGE_creaImageIO_DOXYGEN_DOC:BOOL=%3 CMakeCache.txt
44 ::cmake CMakeCache.txt
45
46 ::%cmakeBin% -D BBTK_DIR:PATH=%1\c_%buildtype%%platforme%\ci\bbtk CMakeCache.txt
47 ::%cmakeBin% -D crea_DIR:PATH=%1\c_%buildtype%%platforme%\ci\crea -D BUILD_BBTK_PACKAGE_creaImageIO:BOOL=ON -D creaBruker_DIR:PATH=%1\c_%buildtype%%platforme%\ci\creaBruker -D USE_GDCM:BOOL=ON CMakeCache.txt
48 ::%cmakeBin% -D BUILD_DOXYGEN_DOC:BOOL=%3 -D BUILD_BBTK_PACKAGE_creaImageIO_DOXYGEN_DOC:BOOL=%3 CMakeCache.txt
49 ::%cmakeBin% -D CMAKE_CXX_FLAGS:STRING="-fpermissive" CMakeCache.txt
50
51 %cmakeBin% -D BBTK_DIR:PATH=%1\c_%buildtype%%platforme%\ci CMakeCache.txt
52 %cmakeBin% -D crea_DIR:PATH=%1\c_%buildtype%%platforme%\ci -D BUILD_BBTK_PACKAGE_creaImageIO:BOOL=ON -D creaBruker_DIR:PATH=%1\c_%buildtype%%platforme%\ci -D USE_GDCM:BOOL=ON CMakeCache.txt
53 %cmakeBin% -D BUILD_DOXYGEN_DOC:BOOL=%3 -D BUILD_BBTK_PACKAGE_creaImageIO_DOXYGEN_DOC:BOOL=%3 CMakeCache.txt
54 %cmakeBin% -D CMAKE_CXX_FLAGS:STRING="-fpermissive" CMakeCache.txt
55
56 exit /B