X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=Install%2Fscripts%2FAll.bat;h=f3723263273ed33c2c47d21781cfda5ee887323a;hb=bfd50d81b1a0115d5de2ceb5c083a47bee67005a;hp=85f5895f28a8e1b56022aff77961f8b500eebad0;hpb=ed9533bd2bb35ea17e6b609107f2c8c507fcf76b;p=creaToolsTools.git diff --git a/Install/scripts/All.bat b/Install/scripts/All.bat index 85f5895..f372326 100644 --- a/Install/scripts/All.bat +++ b/Install/scripts/All.bat @@ -1,139 +1,43 @@ -rem %1 = buildtype -rem %2 = docgeneration -rem %3 = cvsUser +@echo off -rem @echo off -set buildtype=%1 +set creatoolsGeneration=%1 set docgeneration=%2 set cvsUser=%3 +set installPrefix=%4 +set buildtype=%5 + +set currentFolder=%cd% +set logFolder=%currentFolder%\log +goto next +rmdir %logFolder% /s /q +mkdir %logFolder% + +echo call Download Sources +start /B /I /wait %currentFolder%\base\downloadSources.bat %creatoolsGeneration% %installPrefix% %cvsUser% %currentFolder% +echo call compile crea +start /B /I /wait %currentFolder%\crea\creaInstall.bat %creatoolsGeneration% %docgeneration% %cvsUser% %installPrefix% %buildtype% %currentFolder% +echo call compile bbtk +start /B /I /wait %currentFolder%\bbtk\bbtkInstall.bat %creatoolsGeneration% %docgeneration% %cvsUser% %installPrefix% %buildtype% %currentFolder% +echo call compile creaMaracasVisu +start /B /I /wait %currentFolder%\creaMaracasVisu\creaMaracasVisuInstall.bat %creatoolsGeneration% %docgeneration% %cvsUser% %installPrefix% %buildtype% %currentFolder% +echo call compile creaEnvironment +start /B /I /wait %currentFolder%\creaEnvironment\creaEnvironmentInstall.bat %creatoolsGeneration% %docgeneration% %cvsUser% %installPrefix% %buildtype% %currentFolder% +echo call compile creaBruker +start /B /I /wait %currentFolder%\creaBruker\creaBrukerInstall.bat %creatoolsGeneration% %docgeneration% %cvsUser% %installPrefix% %buildtype% %currentFolder% +echo call compile creaImageIO +start /B /I /wait %currentFolder%\creaImageIO\creaImageIOInstall.bat %creatoolsGeneration% %docgeneration% %cvsUser% %installPrefix% %buildtype% %currentFolder% +echo call compile creaContours +start /B /I /wait %currentFolder%\creaContours\creaContoursInstall.bat %creatoolsGeneration% %docgeneration% %cvsUser% %installPrefix% %buildtype% %currentFolder% +echo call compile creaRigidRegistration +start /B /I /wait %currentFolder%\creaRigidRegistration\creaRigidRInstall.bat %creatoolsGeneration% %docgeneration% %cvsUser% %installPrefix% %buildtype% %currentFolder% +echo call compile bbtkGEditor +start /B /I /wait %currentFolder%\bbtkGEditor\bbtkGEditorInstall.bat %creatoolsGeneration% %docgeneration% %cvsUser% %installPrefix% %buildtype% %currentFolder% +echo call compile creaMinitools +start /B /I /wait %currentFolder%\creaTools\creaMinitoolsInstall.bat %creatoolsGeneration% %docgeneration% %cvsUser% %installPrefix% %buildtype% %currentFolder% +echo THIS HAS TO BE THE LAST STEP... +echo call compile creaTools +:next +start /B /I /wait %currentFolder%\creaTools\creaToolsInstall.bat %creatoolsGeneration% %docgeneration% %cvsUser% %installPrefix% %buildtype% %currentFolder% + +exit /B - -set creasourcefolder=crea -set bbtksourcefolder=bbtk -set creamaracassourcefolder=creaMaracasVisu -set creaenvironmentsource=creaEnvironment -set creabrukersource=creaBruker -set creaimagesourcefolder=creaImageIO -set creacontourssource=creaContours -set crearigidregistrationssource=creaRigidRegistration -set bbtkgeditorsource=bbtkGEditor -set creatoolssource=creaTools - -set currentdir=%~dp0 -rem set currentdir=%currentdir:\=/% -set dirInstall=%currentdir%\tmpCreaTools_INSTALL - -call cleangeneral.bat %dirInstall% - -call cvscheckout.bat %creasourcefolder% %cvsUser% -call cvscheckout.bat %bbtksourcefolder% %cvsUser% -call cvscheckout.bat %creamaracassourcefolder% %cvsUser% -call cvscheckout.bat %creaenvironmentsource% %cvsUser% -call cvscheckout.bat %creabrukersource% %cvsUser% -call cvscheckout.bat %creaimagesourcefolder% %cvsUser% -call cvscheckout.bat %creacontourssource% %cvsUser% -call cvscheckout.bat %crearigidregistrationssource% %cvsUser% -call cvscheckout.bat %bbtkgeditorsource% %cvsUser% -call cvscheckout.bat %creatoolssource% %cvsUser% - - - - -rem CREA -call cleanmod.bat %creasourcefolder% -call cmakemod.bat %creasourcefolder% %dirInstall% -call creaVariables.bat %creasourcefolder% -call compilemod.bat %buildtype% %creasourcefolder% -call ctestmod.bat %creasourcefolder% -set creadll=%~dp0 -set creadll=%creadll%%creasourcefolder%Bin\%buildtype% -set PATH=%creadll%;%PATH% - - -rem BBTK -call cleanmod.bat %bbtksourcefolder% -call cmakemod.bat %bbtksourcefolder% %dirInstall% -call bbtkVariables.bat %bbtksourcefolder% %docgeneration% -call compilemod.bat %buildtype% %bbtksourcefolder% -call ctestmod.bat %bbtksourcefolder% -set bbtkdll=%~dp0 -set bbtkdll=%bbtkdll%%bbtksourcefolder%Bin\%buildtype% -set PATH=%bbtkdll%;%PATH% - -rem creaMaracasVisu -call cleanmod.bat %creamaracassourcefolder% -call cmakemod.bat %creamaracassourcefolder% %dirInstall% -call creaMaracasVariables.bat %creamaracassourcefolder% %docgeneration% -call compilemod.bat %buildtype% %creamaracassourcefolder% -call ctestmod.bat %creamaracassourcefolder% -set creamaracasdll=%~dp0%creamaracassourcefolder%\%buildtype% -set PATH=%creamaracasdll%;%PATH% - - -rem creaEnvironment -call cleanmod.bat %creaenvironmentsource% -call cmakemod.bat %creaenvironmentsource% %dirInstall% -call creaenvironmentVariables.bat %creaenvironmentsource% -call compilemod.bat %buildtype% %creaenvironmentsource% -call ctestmod.bat %creaenvironmentsource% -set creaenvironmentdll=%~dp0%creaenvironmentsource%\%buildtype% -set PATH=%creaenvironmentdll%;%PATH% - -rem creaBruker -call cleanmod.bat %creabrukersource% -call cmakemod.bat %creabrukersource% %dirInstall% -call creaBrukerVariables.bat %creabrukersource% %docgeneration% -call compilemod.bat %buildtype% %creabrukersource% -call ctestmod.bat %creabrukersource% -set creabrukerdll=%~dp0%creabrukersource%\%buildtype% -set PATH=%creabrukerdll%;%PATH% - -rem creaImageIO -call cleanmod.bat %creaimagesourcefolder% -call cmakemod.bat %creaimagesourcefolder% %dirInstall% -call creaImageIOVariables.bat %creaimagesourcefolder% %docgeneration% -call compilemod.bat %buildtype% %creaimagesourcefolder% -call ctestmod.bat %creaimagesourcefolder% -set creaimagedll=%~dp0%creaimagesourcefolder%\%buildtype% -set PATH=%creaimagedll%;%PATH% - - -rem creaContours -call cleanmod.bat %creacontourssource% -call cmakemod.bat %creacontourssource% %dirInstall% -call creaContoursVariables.bat %creacontourssource% %docgeneration% -call compilemod.bat %buildtype% %creacontourssource% -call ctestmod.bat %creacontourssource% -set creacontourdll=%~dp0%creacontourssource%\%buildtype% -rem set PATH=%creacontoursdll%;%PATH% - -rem creaRigidRegistration -call cleanmod.bat %crearigidregistrationssource% -call cmakemod.bat %crearigidregistrationssource% %dirInstall% -call creaRigidRegistrationVariables.bat %crearigidregistrationssource% %docgeneration% -call compilemod.bat %buildtype% %crearigidregistrationssource% -call ctestmod.bat %crearigidregistrationssource% -rem set crearigidregistrationdll=%~dp0%crearigidregistrationssource%\%buildtype% -rem set PATH=%crearigidregistrationdll%;%PATH% - -rem bbtkGEditor -call cleanmod.bat %bbtkgeditorsource% -call cmakemod.bat %bbtkgeditorsource% %dirInstall% -call bbtkGEditorVariables.bat %bbtkgeditorsource% %docgeneration% -call compilemod.bat %buildtype% %bbtkgeditorsource% -call ctestmod.bat %bbtkgeditorsource% -rem set bbtkgeditordll=%~dp0%bbtkgeditorsource%\%buildtype% -rem set PATH=%bbtkgeditordll%;%PATH% - -rem creaTools -call cleanmod.bat %creatoolssource% -call cmakemod.bat %creatoolssource% %dirInstall% -call creaToolsVariables.bat %creatoolssource% %dirInstall% -call compilemodCreaTools.bat %buildtype% %creatoolssource% -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