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