]> Creatis software - creaToolsTools.git/blobdiff - ctest/dashboard/All.bat
*** empty log message ***
[creaToolsTools.git] / ctest / dashboard / All.bat
index 78a611bf2f173ab4f2965e03338cb5175f0e6a05..17fd8f6552f969811818b55f7869645acda4cd3d 100644 (file)
@@ -14,6 +14,11 @@ set crearigidregistrationssource=creaRigidRegistration
 set bbtkgeditorsource=bbtkGEditor
 set creatoolssource=creaTools
 
+set currentdir=%~dp0
+rem set currentdir=%currentdir:\=/%
+set dirInstall=%currentdir%\tmpCreaTools_INSTALL
+rmdir  %dirInstall% /s /q
+
 
 call cvscheckout.bat %creasourcefolder% %cvsUser%
 call cvscheckout.bat %bbtksourcefolder% %cvsUser%
@@ -27,7 +32,10 @@ call cvscheckout.bat %bbtkgeditorsource% %cvsUser%
 call cvscheckout.bat %creatoolssource% %cvsUser%
 
 
+
+
 rem CREA
+call cleanmod.bat %creasourcefolder%
 call cmakemod.bat %creasourcefolder% 
 call creaVariables.bat %creasourcefolder% 
 call compilemod.bat %buildtype% %creasourcefolder%
@@ -38,6 +46,7 @@ set PATH=%creadll%;%PATH%
 
 
 rem BBTK
+call cleanmod.bat %bbtksourcefolder%
 call cmakemod.bat %bbtksourcefolder% 
 call bbtkVariables.bat %bbtksourcefolder% %docgeneration%
 call compilemod.bat %buildtype% %bbtksourcefolder%
@@ -47,6 +56,7 @@ set bbtkdll=%bbtkdll%%bbtksourcefolder%Bin\%buildtype%
 set PATH=%bbtkdll%;%PATH%
 
 rem creaMaracasVisu
+call cleanmod.bat %creamaracassourcefolder%
 call cmakemod.bat %creamaracassourcefolder% 
 call creaMaracasVariables.bat %creamaracassourcefolder% %docgeneration%
 call compilemod.bat %buildtype% %creamaracassourcefolder%
@@ -56,6 +66,7 @@ set PATH=%creamaracasdll%;%PATH%
 
 
 rem creaEnvironment
+call cleanmod.bat %creaenvironmentsource%
 call cmakemod.bat %creaenvironmentsource% 
 call creaenvironmentVariables.bat %creaenvironmentsource% 
 call compilemod.bat %buildtype% %creaenvironmentsource%
@@ -64,6 +75,7 @@ set creaenvironmentdll=%~dp0%creaenvironmentsource%\%buildtype%
 set PATH=%creaenvironmentdll%;%PATH%
 
 rem creaBruker
+call cleanmod.bat %creabrukersource%
 call cmakemod.bat %creabrukersource% 
 call creaBrukerVariables.bat %creabrukersource% %docgeneration%
 call compilemod.bat %buildtype% %creabrukersource%
@@ -72,6 +84,7 @@ set creabrukerdll=%~dp0%creabrukersource%\%buildtype%
 set PATH=%creabrukerdll%;%PATH%
 
 rem creaImageIO
+call cleanmod.bat %creaimagesourcefolder%
 call cmakemod.bat %creaimagesourcefolder% 
 call creaImageIOVariables.bat %creaimagesourcefolder% %docgeneration% 
 call compilemod.bat %buildtype% %creaimagesourcefolder%
@@ -81,6 +94,7 @@ set PATH=%creaimagedll%;%PATH%
 
 
 rem creaContours
+call cleanmod.bat %creacontourssource%
 call cmakemod.bat %creacontourssource% 
 call creaContoursVariables.bat %creacontourssource% %docgeneration%
 call compilemod.bat %buildtype% %creacontourssource%
@@ -89,6 +103,7 @@ set creacontourdll=%~dp0%creacontourssource%\%buildtype%
 rem set PATH=%creacontoursdll%;%PATH%
 
 rem creaRigidRegistration
+call cleanmod.bat %crearigidregistrationssource%
 call cmakemod.bat %crearigidregistrationssource% 
 call creaRigidRegistrationVariables.bat %crearigidregistrationssource% %docgeneration% 
 call compilemod.bat %buildtype% %crearigidregistrationssource%
@@ -97,6 +112,7 @@ rem set crearigidregistrationdll=%~dp0%crearigidregistrationssource%\%buildtype%
 rem set PATH=%crearigidregistrationdll%;%PATH%
 
 rem bbtkGEditor
+call cleanmod.bat %bbtkgeditorsource%
 call cmakemod.bat %bbtkgeditorsource% 
 call bbtkGEditorVariables.bat %bbtkgeditorsource% %docgeneration% 
 call compilemod.bat %buildtype% %bbtkgeditorsource%
@@ -104,15 +120,20 @@ call ctestmod.bat %bbtkgeditorsource%
 rem set bbtkgeditordll=%~dp0%bbtkgeditorsource%\%buildtype%
 rem set PATH=%bbtkgeditordll%;%PATH%
 
-pause
-
 rem creaTools
+call cleanmod.bat %creatoolssource%
+pause
 call cmakemod.bat %creatoolssource% 
-call creaToolsVariables.bat %creatoolsbinary%
-call compilemodCreaTools.bat %buildtype% %creatoolsbinary%
-rem remcall ctestmod.bat %creatoolsbinary%
-set creatoolsdll=%~dp0%creatoolsbinary%\%buildtype%
+pause
+call creaToolsVariables.bat %creatoolssource%
+pause
+call compilemodCreaTools.bat %buildtype% %creatoolssource%
+pause
+rem remcall ctestmod.bat %creatoolssource%
+set creatoolsdll=%~dp0%creatoolssource%\%buildtype%
 set PATH=%creatoolssdll%;%PATH%
 
+pause
+
 rem shutdown /s
 exit /b
\ No newline at end of file