1 REM ---------------------------------------------------------------------
3 REM Copyright (c) CREATIS (Centre de Recherche en Acquisition et Traitement de l'Image
5 REM Authors : Eduardo Davila, Frederic Cervenansky, Claire Mouton
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.
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
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 ------------------------------------------------------------------------
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
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
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%
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%
68 set creadll=%creadll%%creasourcefolder%Bin\%buildtype%
69 set PATH=%creadll%;%PATH%
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%
79 set bbtkdll=%bbtkdll%%bbtksourcefolder%Bin\%buildtype%
80 set PATH=%bbtkdll%;%PATH%
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%
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%
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%
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%
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%
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%
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%
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%