]> Creatis software - creaToolsTools.git/blob - Install/scripts/creaRigidRegistration/creaRigidRegistrationVariables.bat
Feature 2004 Windows generation creatools installer. Merging in one proces Debug...
[creaToolsTools.git] / Install / scripts / creaRigidRegistration / creaRigidRegistrationVariables.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 creaRigidRegistrationVariables.bat
27 echo ----------------------------
28
29 echo creatoolsGeneration = %1
30 echo crearigidregistrationssource = %2
31 echo docgeneration = %3
32 echo buildType = %4
33
34 set binfolder=%1\creatools_%buildtype%%platforme%\creatools_bin\%2Bin
35 cd %binfolder%
36
37 IF %4==Debug (
38         cmake -D WXWIDGETS_USE_DEBUG:BOOL=ON CMakeCache.txt
39 )
40
41 cmake -D crea_DIR:PATH=%1\creatools_%buildtype%%platforme%\creatools_install\crea -D BUILD_BBTK_PACKAGE_PackRecalage:BOOL=ON CMakeCache.txt
42 cmake -D BBTK_DIR:PATH=%1\creatools_%buildtype%%platforme%\creatools_install\bbtk CMakeCache.txt
43 cmake -D BUILD_creaRigidRegistration_DOC:BOOL=%3 -D BUILD_BBTK_PACKAGE_PackRecalage_DOXYGEN_DOC:BOOL=%3 CMakeCache.txt
44 cmake CMakeCache.txt
45 cmake CMakeCache.txt
46
47 exit /B