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