]> Creatis software - creaToolsTools.git/blob - Install/scripts/All.bat
*** empty log message ***
[creaToolsTools.git] / Install / scripts / All.bat
1
2
3 rem @echo off
4 set creatoolsGeneration=%1
5 set docgeneration=%2
6 set cvsUser=%3
7 set installPrefix=%4
8 set buildtype=%5
9
10
11 set creasource=crea
12 set bbtksource=bbtk
13 set creamaracassource=creaMaracasVisu
14 set creaenvironmentsource=creaEnvironment
15 set creabrukersource=creaBruker
16 set creaimagesource=creaImageIO
17 set creacontourssource=creaContours
18 set crearigidregistrationssource=creaRigidRegistration
19 set bbtkgeditorsource=bbtkGEditor
20 set creatoolssource=creaTools
21 set creaminitoolssource=creaMiniTools
22
23 set currentdir=%~dp0
24
25 goto creaMiniToolDoIt
26
27 call %currentdir%\cleangeneral.bat %creatoolsGeneration% %installPrefix%
28
29
30 call %currentdir%\cvscheckout.bat %creasource% %cvsUser% %creatoolsGeneration%
31 call %currentdir%\cvscheckout.bat %bbtksource% %cvsUser% %creatoolsGeneration%
32 call %currentdir%\cvscheckout.bat %creamaracassource% %cvsUser% %creatoolsGeneration%
33 call %currentdir%\cvscheckout.bat %creaenvironmentsource% %cvsUser% %creatoolsGeneration%
34 call %currentdir%\cvscheckout.bat %creabrukersource% %cvsUser% %creatoolsGeneration%
35 call %currentdir%\cvscheckout.bat %creaimagesource% %cvsUser% %creatoolsGeneration%
36 call %currentdir%\cvscheckout.bat %creacontourssource% %cvsUser% %creatoolsGeneration%
37 call %currentdir%\cvscheckout.bat %crearigidregistrationssource% %cvsUser% %creatoolsGeneration%
38 call %currentdir%\cvscheckout.bat %bbtkgeditorsource% %cvsUser% %creatoolsGeneration%
39 call %currentdir%\cvscheckout.bat %creatoolssource% %cvsUser% %creatoolsGeneration%
40 call %currentdir%\cvscheckout.bat %creaminitoolssource% %cvsUser% %creatoolsGeneration%
41
42 rem CREA
43 call %currentdir%\cleanmod.bat %creasource% %creatoolsGeneration%
44 call %currentdir%\cmakemod.bat %creasource% %installPrefix% %creatoolsGeneration%
45 call %currentdir%\creaVariables.bat %creatoolsGeneration% %creasource% %docgeneration%
46 call %currentdir%\compilemod.bat %buildtype% %creasource% %creatoolsGeneration%
47 call %currentdir%\ctestmod.bat %creasource% %creatoolsGeneration%
48 set creadll=%creatoolsGeneration%\creatools_bin\%creasource%Bin\%buildtype%
49 set PATH=%creadll%;%PATH%
50
51 rem BBTK
52 call %currentdir%\cleanmod.bat %bbtksource% %creatoolsGeneration%
53 call %currentdir%\cmakemod.bat %bbtksource%  %installPrefix% %creatoolsGeneration%
54 call %currentdir%\bbtkVariables.bat %creatoolsGeneration% %bbtksource% %docgeneration%
55 call %currentdir%\compilemod.bat %buildtype% %bbtksource% %creatoolsGeneration%
56 call %currentdir%\ctestmod.bat %bbtksource% %creatoolsGeneration%
57 set bbtkdll=%creatoolsGeneration%\creatools_bin\%bbtksource%Bin\%buildtype%
58 set PATH=%bbtkdll%;%PATH%
59
60 rem creaMaracasVisu
61 call %currentdir%\cleanmod.bat %creamaracassource% %creatoolsGeneration%
62 call %currentdir%\cmakemod.bat %creamaracassource%  %installPrefix% %creatoolsGeneration%
63 call %currentdir%\creaMaracasVariables.bat %creatoolsGeneration% %creamaracassource% %docgeneration%
64 call %currentdir%\compilemod.bat %buildtype% %creamaracassource% %creatoolsGeneration%
65 call %currentdir%\ctestmod.bat %creamaracassource% %creatoolsGeneration%
66 set creamaracasdll=%creatoolsGeneration%\creatools_bin\%creamaracassource%Bin\%buildtype%
67 set PATH=%creamaracasdll%;%PATH%
68
69 rem creaEnvironment
70 call %currentdir%\cleanmod.bat %creaenvironmentsource% %creatoolsGeneration%
71 call %currentdir%\cmakemod.bat %creaenvironmentsource%  %installPrefix% %creatoolsGeneration%
72 call %currentdir%\creaenvironmentVariables.bat %creatoolsGeneration%  %creaenvironmentsource% %docgeneration%
73 call %currentdir%\compilemod.bat %buildtype% %creaenvironmentsource% %creatoolsGeneration%
74 call %currentdir%\ctestmod.bat %creaenvironmentsource% %creatoolsGeneration%
75 set creaenvironmentdll=%creatoolsGeneration%\creatools_bin\%creaenvironmentsource%Bin\%buildtype%
76 set PATH=%creaenvironmentdll%;%PATH%
77
78 rem creaBruker
79 call %currentdir%\cleanmod.bat %creabrukersource% %creatoolsGeneration%
80 call %currentdir%\cmakemod.bat %creabrukersource%  %installPrefix% %creatoolsGeneration%
81 call %currentdir%\creaBrukerVariables.bat %creatoolsGeneration% %creabrukersource% %docgeneration%
82 call %currentdir%\compilemod.bat %buildtype% %creabrukersource% %creatoolsGeneration%
83 call %currentdir%\ctestmod.bat %creabrukersource% %creatoolsGeneration%
84 set creabrukerdll=%creatoolsGeneration%\creatools_bin\%creabrukersource%Bin\%buildtype%
85 set PATH=%creabrukerdll%;%PATH%
86
87 rem creaImageIO
88 call %currentdir%\cleanmod.bat %creaimagesource% %creatoolsGeneration%
89 call %currentdir%\cmakemod.bat %creaimagesource%  %installPrefix% %creatoolsGeneration%
90 call %currentdir%\creaImageIOVariables.bat %creatoolsGeneration% %creaimagesource%  %docgeneration%
91 call %currentdir%\compilemod.bat %buildtype% %creaimagesource% %creatoolsGeneration%
92 call %currentdir%\ctestmod.bat %creaimagesource% %creatoolsGeneration%
93 set creaimagedll=%creatoolsGeneration%\creatools_bin\%creaimagesource%Bin\%buildtype%
94 set PATH=%creaimagedll%;%PATH%
95
96 rem creaContours
97 call %currentdir%\cleanmod.bat %creacontourssource% %creatoolsGeneration%
98 call %currentdir%\cmakemod.bat %creacontourssource%  %installPrefix% %creatoolsGeneration%
99 call %currentdir%\creaContoursVariables.bat %creatoolsGeneration% %creacontourssource% %docgeneration%
100 call %currentdir%\compilemod.bat %buildtype% %creacontourssource% %creatoolsGeneration%
101 call %currentdir%\ctestmod.bat %creacontourssource% %creatoolsGeneration%
102 set creacontourdll=%creatoolsGeneration%\creatools_bin\%creacontourssource%Bin\%buildtype%
103 rem set PATH=%creacontoursdll%;%PATH%
104
105 rem creaRigidRegistration
106 call %currentdir%\cleanmod.bat %crearigidregistrationssource% %creatoolsGeneration%
107 call %currentdir%\cmakemod.bat %crearigidregistrationssource%  %installPrefix% %creatoolsGeneration%
108 call %currentdir%\creaRigidRegistrationVariables.bat %creatoolsGeneration% %crearigidregistrationssource%  %docgeneration%
109 call %currentdir%\compilemod.bat %buildtype% %crearigidregistrationssource% %creatoolsGeneration%
110 call %currentdir%\ctestmod.bat %crearigidregistrationssource% %creatoolsGeneration%
111 set crearigidregistrationdll=%creatoolsGeneration%\creatools_bin\%crearigidregistrationssource%Bin\%buildtype%
112 rem set PATH=%crearigidregistrationdll%;%PATH%
113
114 rem bbtkGEditor
115 call %currentdir%\cleanmod.bat %bbtkgeditorsource% %creatoolsGeneration%
116 call %currentdir%\cmakemod.bat %bbtkgeditorsource%  %installPrefix% %creatoolsGeneration%
117 call %currentdir%\bbtkGEditorVariables.bat %creatoolsGeneration% %bbtkgeditorsource%  %docgeneration%
118 call %currentdir%\compilemod.bat %buildtype% %bbtkgeditorsource% %creatoolsGeneration%
119 call %currentdir%\ctestmod.bat %bbtkgeditorsource% %creatoolsGeneration%
120 set bbtkgeditordll=%creatoolsGeneration%\creatools_bin\%bbtkgeditorsource%Bin\%buildtype%
121 rem set PATH=%bbtkgeditordll%;%PATH%
122
123 :creaMiniToolDoIt
124
125 rem creaMiniTools
126 call %currentdir%\cleanmod.bat %creaminitoolssource% %creatoolsGeneration%
127 call %currentdir%\cmakemod.bat %creaminitoolssource%  %installPrefix% %creatoolsGeneration%
128 call %currentdir%\creaMiniToolsVariables.bat %creatoolsGeneration%  %creaminitoolssource% %docgeneration%
129 call %currentdir%\compilemod.bat %buildtype% %creaminitoolssource% %creatoolsGeneration%
130 call %currentdir%\ctestmod.bat %creaminitoolssource% %creatoolsGeneration%
131 set creaminitoolsdll=%creatoolsGeneration%\creatools_bin\%creaminitoolssource%Bin\%buildtype%
132 rem set PATH=%creaminitoolsdll%;%PATH%
133
134 rem  THIS HAS TO BE THE LAST STEP...
135
136 rem creaTools
137 call %currentdir%\cleanmod.bat %creatoolssource% %creatoolsGeneration%
138 call %currentdir%\cmakemod.bat %creatoolssource%  %installPrefix% %creatoolsGeneration%
139 call %currentdir%\creaToolsVariables.bat %creatoolsGeneration%  %creatoolssource% %docgeneration%
140 call %currentdir%\compilemodCreaTools.bat %buildtype% %creatoolssource% %creatoolsGeneration%
141 rem remcall ctestmod.bat %creatoolssource% %creatoolsGeneration%
142 set creatoolsdll=%creatoolsGeneration%\creatools_bin\%creatoolssource%Bin\%buildtype%
143 rem set PATH=%creatoolssdll%;%PATH%
144
145 REM
146 REM
147 REM ...FIN...END... :)
148 REM
149 REM
150 pause
151 rem shutdown /s
152 exit /b
153