]> Creatis software - creaToolsTools.git/blob - ctest/dashboard/All.bat
Feature #1773 Add licence terms for all files.
[creaToolsTools.git] / ctest / dashboard / All.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 rem @echo off
25 set buildtype=Release
26 set docgeneration=OFF
27 set cvsUser=davila
28
29 set creasourcefolder=crea
30 set bbtksourcefolder=bbtk
31 set creamaracassourcefolder=creaMaracasVisu
32 set creaenvironmentsource=creaEnvironment
33 set creabrukersource=creaBruker
34 set creaimagesourcefolder=creaImageIO
35 set creacontourssource=creaContours
36 set crearigidregistrationssource=creaRigidRegistration
37 set bbtkgeditorsource=bbtkGEditor
38 set creatoolssource=creaTools
39
40 set currentdir=%~dp0
41 rem set currentdir=%currentdir:\=/%
42 set dirInstall=%currentdir%\tmpCreaTools_INSTALL
43 rmdir  %dirInstall% /s /q
44 rmdir  Result_Installers /s /q
45 mkdir Result_Installers
46
47 call cvscheckout.bat %creasourcefolder% %cvsUser%
48 call cvscheckout.bat %bbtksourcefolder% %cvsUser%
49 call cvscheckout.bat %creamaracassourcefolder% %cvsUser%
50 call cvscheckout.bat %creaenvironmentsource% %cvsUser%
51 call cvscheckout.bat %creabrukersource% %cvsUser%
52 call cvscheckout.bat %creaimagesourcefolder% %cvsUser%
53 call cvscheckout.bat %creacontourssource% %cvsUser%
54 call cvscheckout.bat %crearigidregistrationssource% %cvsUser%
55 call cvscheckout.bat %bbtkgeditorsource% %cvsUser%
56 call cvscheckout.bat %creatoolssource% %cvsUser%
57
58
59
60
61 rem CREA
62 call cleanmod.bat %creasourcefolder%
63 call cmakemod.bat %creasourcefolder% %dirInstall%
64 call creaVariables.bat %creasourcefolder% 
65 call compilemod.bat %buildtype% %creasourcefolder%
66 call ctestmod.bat %creasourcefolder%
67 set creadll=%~dp0
68 set creadll=%creadll%%creasourcefolder%Bin\%buildtype%
69 set PATH=%creadll%;%PATH%
70
71
72 rem BBTK
73 call cleanmod.bat %bbtksourcefolder%
74 call cmakemod.bat %bbtksourcefolder%  %dirInstall%
75 call bbtkVariables.bat %bbtksourcefolder% %docgeneration%
76 call compilemod.bat %buildtype% %bbtksourcefolder%
77 call ctestmod.bat %bbtksourcefolder%
78 set bbtkdll=%~dp0
79 set bbtkdll=%bbtkdll%%bbtksourcefolder%Bin\%buildtype%
80 set PATH=%bbtkdll%;%PATH%
81
82 rem creaMaracasVisu
83 call cleanmod.bat %creamaracassourcefolder%
84 call cmakemod.bat %creamaracassourcefolder%  %dirInstall%
85 call creaMaracasVariables.bat %creamaracassourcefolder% %docgeneration%
86 call compilemod.bat %buildtype% %creamaracassourcefolder%
87 call ctestmod.bat %creamaracassourcefolder%
88 set creamaracasdll=%~dp0%creamaracassourcefolder%\%buildtype%
89 set PATH=%creamaracasdll%;%PATH%
90
91
92 rem creaEnvironment
93 call cleanmod.bat %creaenvironmentsource%
94 call cmakemod.bat %creaenvironmentsource%  %dirInstall%
95 call creaenvironmentVariables.bat %creaenvironmentsource% 
96 call compilemod.bat %buildtype% %creaenvironmentsource%
97 call ctestmod.bat %creaenvironmentsource%
98 set creaenvironmentdll=%~dp0%creaenvironmentsource%\%buildtype%
99 set PATH=%creaenvironmentdll%;%PATH%
100
101 rem creaBruker
102 call cleanmod.bat %creabrukersource%
103 call cmakemod.bat %creabrukersource%  %dirInstall%
104 call creaBrukerVariables.bat %creabrukersource% %docgeneration%
105 call compilemod.bat %buildtype% %creabrukersource%
106 call ctestmod.bat %creabrukersource%
107 set creabrukerdll=%~dp0%creabrukersource%\%buildtype%
108 set PATH=%creabrukerdll%;%PATH%
109
110 rem creaImageIO
111 call cleanmod.bat %creaimagesourcefolder%
112 call cmakemod.bat %creaimagesourcefolder%  %dirInstall%
113 call creaImageIOVariables.bat %creaimagesourcefolder% %docgeneration% 
114 call compilemod.bat %buildtype% %creaimagesourcefolder%
115 call ctestmod.bat %creaimagesourcefolder%
116 set creaimagedll=%~dp0%creaimagesourcefolder%\%buildtype%
117 set PATH=%creaimagedll%;%PATH%
118
119
120 rem creaContours
121 call cleanmod.bat %creacontourssource%
122 call cmakemod.bat %creacontourssource%  %dirInstall%
123 call creaContoursVariables.bat %creacontourssource% %docgeneration%
124 call compilemod.bat %buildtype% %creacontourssource%
125 call ctestmod.bat %creacontourssource%
126 set creacontourdll=%~dp0%creacontourssource%\%buildtype%
127 rem set PATH=%creacontoursdll%;%PATH%
128
129 rem creaRigidRegistration
130 call cleanmod.bat %crearigidregistrationssource%
131 call cmakemod.bat %crearigidregistrationssource%  %dirInstall%
132 call creaRigidRegistrationVariables.bat %crearigidregistrationssource% %docgeneration% 
133 call compilemod.bat %buildtype% %crearigidregistrationssource%
134 call ctestmod.bat %crearigidregistrationssource%
135 rem set crearigidregistrationdll=%~dp0%crearigidregistrationssource%\%buildtype%
136 rem set PATH=%crearigidregistrationdll%;%PATH%
137
138 rem bbtkGEditor
139 call cleanmod.bat %bbtkgeditorsource%
140 call cmakemod.bat %bbtkgeditorsource%  %dirInstall%
141 call bbtkGEditorVariables.bat %bbtkgeditorsource% %docgeneration% 
142 call compilemod.bat %buildtype% %bbtkgeditorsource%
143 call ctestmod.bat %bbtkgeditorsource%
144 rem set bbtkgeditordll=%~dp0%bbtkgeditorsource%\%buildtype%
145 rem set PATH=%bbtkgeditordll%;%PATH%
146
147 rem creaTools
148 call cleanmod.bat %creatoolssource%
149 call cmakemod.bat %creatoolssource%  %dirInstall%
150 call creaToolsVariables.bat %creatoolssource%  %dirInstall%
151 call compilemodCreaTools.bat %buildtype% %creatoolssource%
152 rem remcall ctestmod.bat %creatoolssource%
153 set creatoolsdll=%~dp0%creatoolssource%\%buildtype%
154 set PATH=%creatoolssdll%;%PATH%
155
156 pause
157
158 rem shutdown /s
159 exit /b