]> Creatis software - creaToolsTools.git/blob - Install_mingw64/Install_CreaTools/scripts/creaMaracasVariables.bat
44f47a495504a9f42bcdf48c5a9e6ccb4c591e72
[creaToolsTools.git] / Install_mingw64 / Install_CreaTools / scripts / creaMaracasVariables.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 --creaMaracasVariables.bat--
27 echo ----------------------------
28
29 echo creatoolsGeneration = %1
30 echo creamaracassourcefolder = %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
42 ::cmake -D CMAKE_CXX_FLAGS:STRING=/openmp
43 ::cmake -D crea_DIR:PATH=%1\creatools_%buildtype%%platforme%\creatools_install\crea CMakeCache.txt
44 ::cmake -D BBTK_DIR:PATH=%1\creatools_%buildtype%%platforme%\creatools_install\bbtk CMakeCache.txt
45 ::cmake -D BUILD_BBTK_PACKAGE_creaMaracasVisu:BOOL=ON -D creaMaracasVisu_DOC:BOOL=%3 CMakeCache.txt
46 ::cmake -D BUILD_BBTK_PACKAGE_creaMaracasVisu_DOXYGEN_DOC:BOOL=%3 CMakeCache.txt
47 ::cmake CMakeCache.txt
48
49
50 ::%cmakeBin% -D CMAKE_CXX_FLAGS:STRING=/openmp
51 ::%cmakeBin%  -D crea_DIR:PATH=%1\c_%buildtype%%platforme%\ci\crea CMakeCache.txt
52 ::%cmakeBin%  -D BBTK_DIR:PATH=%1\c_%buildtype%%platforme%\ci\bbtk CMakeCache.txt
53 ::%cmakeBin%  -D BUILD_BBTK_PACKAGE_creaMaracasVisu:BOOL=ON -D creaMaracasVisu_DOC:BOOL=%3 CMakeCache.txt
54 ::%cmakeBin%  -D BUILD_BBTK_PACKAGE_creaMaracasVisu_DOXYGEN_DOC:BOOL=%3 CMakeCache.txt
55 ::%cmakeBin%  CMakeCache.txt
56
57 %cmakeBin% -D CMAKE_CXX_FLAGS:STRING=/openmp
58 %cmakeBin%  -D crea_DIR:PATH=%1\c_%buildtype%%platforme%\ci CMakeCache.txt
59 %cmakeBin%  -D BBTK_DIR:PATH=%1\c_%buildtype%%platforme%\ci CMakeCache.txt
60 %cmakeBin%  -D BUILD_BBTK_PACKAGE_creaMaracasVisu:BOOL=ON -D creaMaracasVisu_DOC:BOOL=%3 CMakeCache.txt
61 %cmakeBin%  -D BUILD_BBTK_PACKAGE_creaMaracasVisu_DOXYGEN_DOC:BOOL=%3 CMakeCache.txt
62 %cmakeBin%  CMakeCache.txt
63
64
65 exit /B