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