X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=Install%2Fscripts%2FAll.bat;h=00ee33f87813653e4c4ae3ad72809f091c3a0282;hb=4693c07c862e23f1b4ff13d13c978e6a6f5421c2;hp=38124bf9c0499d08a0a1a8cf7e4d2d1b561c53ae;hpb=52d405722a2de46a53f5b5296dd9a9d1d9f3ebb4;p=creaToolsTools.git diff --git a/Install/scripts/All.bat b/Install/scripts/All.bat index 38124bf..00ee33f 100644 --- a/Install/scripts/All.bat +++ b/Install/scripts/All.bat @@ -1,138 +1,153 @@ -rem %1 = buildtype -rem %2 = docgeneration -rem %3 = cvsUser + rem @echo off -set buildtype=%1 +set creatoolsGeneration=%1 set docgeneration=%2 set cvsUser=%3 +set installPrefix=%4 +set buildtype=%5 -set creasourcefolder=crea -set bbtksourcefolder=bbtk -set creamaracassourcefolder=creaMaracasVisu +set creasource=crea +set bbtksource=bbtk +set creamaracassource=creaMaracasVisu set creaenvironmentsource=creaEnvironment set creabrukersource=creaBruker -set creaimagesourcefolder=creaImageIO +set creaimagesource=creaImageIO set creacontourssource=creaContours set crearigidregistrationssource=creaRigidRegistration set bbtkgeditorsource=bbtkGEditor set creatoolssource=creaTools +set creaminitoolssource=creaMiniTools 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% +goto creaMiniToolDoIt +call %currentdir%\cleangeneral.bat %creatoolsGeneration% %installPrefix% +call %currentdir%\cvscheckout.bat %creasource% %cvsUser% %creatoolsGeneration% +call %currentdir%\cvscheckout.bat %bbtksource% %cvsUser% %creatoolsGeneration% +call %currentdir%\cvscheckout.bat %creamaracassource% %cvsUser% %creatoolsGeneration% +call %currentdir%\cvscheckout.bat %creaenvironmentsource% %cvsUser% %creatoolsGeneration% +call %currentdir%\cvscheckout.bat %creabrukersource% %cvsUser% %creatoolsGeneration% +call %currentdir%\cvscheckout.bat %creaimagesource% %cvsUser% %creatoolsGeneration% +call %currentdir%\cvscheckout.bat %creacontourssource% %cvsUser% %creatoolsGeneration% +call %currentdir%\cvscheckout.bat %crearigidregistrationssource% %cvsUser% %creatoolsGeneration% +call %currentdir%\cvscheckout.bat %bbtkgeditorsource% %cvsUser% %creatoolsGeneration% +call %currentdir%\cvscheckout.bat %creatoolssource% %cvsUser% %creatoolsGeneration% +call %currentdir%\cvscheckout.bat %creaminitoolssource% %cvsUser% %creatoolsGeneration% 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% +call %currentdir%\cleanmod.bat %creasource% %creatoolsGeneration% +call %currentdir%\cmakemod.bat %creasource% %installPrefix% %creatoolsGeneration% +call %currentdir%\creaVariables.bat %creatoolsGeneration% %creasource% %docgeneration% +call %currentdir%\compilemod.bat %buildtype% %creasource% %creatoolsGeneration% +call %currentdir%\ctestmod.bat %creasource% %creatoolsGeneration% +set creadll=%creatoolsGeneration%\creatools_bin\%creasource%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% +call %currentdir%\cleanmod.bat %bbtksource% %creatoolsGeneration% +call %currentdir%\cmakemod.bat %bbtksource% %installPrefix% %creatoolsGeneration% +call %currentdir%\bbtkVariables.bat %creatoolsGeneration% %bbtksource% %docgeneration% +call %currentdir%\compilemod.bat %buildtype% %bbtksource% %creatoolsGeneration% +call %currentdir%\ctestmod.bat %bbtksource% %creatoolsGeneration% +set bbtkdll=%creatoolsGeneration%\creatools_bin\%bbtksource%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% +call %currentdir%\cleanmod.bat %creamaracassource% %creatoolsGeneration% +call %currentdir%\cmakemod.bat %creamaracassource% %installPrefix% %creatoolsGeneration% +call %currentdir%\creaMaracasVariables.bat %creatoolsGeneration% %creamaracassource% %docgeneration% +call %currentdir%\compilemod.bat %buildtype% %creamaracassource% %creatoolsGeneration% +call %currentdir%\ctestmod.bat %creamaracassource% %creatoolsGeneration% +set creamaracasdll=%creatoolsGeneration%\creatools_bin\%creamaracassource%Bin\%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% +call %currentdir%\cleanmod.bat %creaenvironmentsource% %creatoolsGeneration% +call %currentdir%\cmakemod.bat %creaenvironmentsource% %installPrefix% %creatoolsGeneration% +call %currentdir%\creaenvironmentVariables.bat %creatoolsGeneration% %creaenvironmentsource% %docgeneration% +call %currentdir%\compilemod.bat %buildtype% %creaenvironmentsource% %creatoolsGeneration% +call %currentdir%\ctestmod.bat %creaenvironmentsource% %creatoolsGeneration% +set creaenvironmentdll=%creatoolsGeneration%\creatools_bin\%creaenvironmentsource%Bin\%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% +call %currentdir%\cleanmod.bat %creabrukersource% %creatoolsGeneration% +call %currentdir%\cmakemod.bat %creabrukersource% %installPrefix% %creatoolsGeneration% +call %currentdir%\creaBrukerVariables.bat %creatoolsGeneration% %creabrukersource% %docgeneration% +call %currentdir%\compilemod.bat %buildtype% %creabrukersource% %creatoolsGeneration% +call %currentdir%\ctestmod.bat %creabrukersource% %creatoolsGeneration% +set creabrukerdll=%creatoolsGeneration%\creatools_bin\%creabrukersource%Bin\%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% +call %currentdir%\cleanmod.bat %creaimagesource% %creatoolsGeneration% +call %currentdir%\cmakemod.bat %creaimagesource% %installPrefix% %creatoolsGeneration% +call %currentdir%\creaImageIOVariables.bat %creatoolsGeneration% %creaimagesource% %docgeneration% +call %currentdir%\compilemod.bat %buildtype% %creaimagesource% %creatoolsGeneration% +call %currentdir%\ctestmod.bat %creaimagesource% %creatoolsGeneration% +set creaimagedll=%creatoolsGeneration%\creatools_bin\%creaimagesource%Bin\%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% +call %currentdir%\cleanmod.bat %creacontourssource% %creatoolsGeneration% +call %currentdir%\cmakemod.bat %creacontourssource% %installPrefix% %creatoolsGeneration% +call %currentdir%\creaContoursVariables.bat %creatoolsGeneration% %creacontourssource% %docgeneration% +call %currentdir%\compilemod.bat %buildtype% %creacontourssource% %creatoolsGeneration% +call %currentdir%\ctestmod.bat %creacontourssource% %creatoolsGeneration% +set creacontourdll=%creatoolsGeneration%\creatools_bin\%creacontourssource%Bin\%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% +call %currentdir%\cleanmod.bat %crearigidregistrationssource% %creatoolsGeneration% +call %currentdir%\cmakemod.bat %crearigidregistrationssource% %installPrefix% %creatoolsGeneration% +call %currentdir%\creaRigidRegistrationVariables.bat %creatoolsGeneration% %crearigidregistrationssource% %docgeneration% +call %currentdir%\compilemod.bat %buildtype% %crearigidregistrationssource% %creatoolsGeneration% +call %currentdir%\ctestmod.bat %crearigidregistrationssource% %creatoolsGeneration% +set crearigidregistrationdll=%creatoolsGeneration%\creatools_bin\%crearigidregistrationssource%Bin\%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% +call %currentdir%\cleanmod.bat %bbtkgeditorsource% %creatoolsGeneration% +call %currentdir%\cmakemod.bat %bbtkgeditorsource% %installPrefix% %creatoolsGeneration% +call %currentdir%\bbtkGEditorVariables.bat %creatoolsGeneration% %bbtkgeditorsource% %docgeneration% +call %currentdir%\compilemod.bat %buildtype% %bbtkgeditorsource% %creatoolsGeneration% +call %currentdir%\ctestmod.bat %bbtkgeditorsource% %creatoolsGeneration% +set bbtkgeditordll=%creatoolsGeneration%\creatools_bin\%bbtkgeditorsource%Bin\%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% +:creaMiniToolDoIt + +rem creaMiniTools +call %currentdir%\cleanmod.bat %creaminitoolssource% %creatoolsGeneration% +call %currentdir%\cmakemod.bat %creaminitoolssource% %installPrefix% %creatoolsGeneration% +call %currentdir%\creaMiniToolsVariables.bat %creatoolsGeneration% %creaminitoolssource% %docgeneration% +call %currentdir%\compilemod.bat %buildtype% %creaminitoolssource% %creatoolsGeneration% +call %currentdir%\ctestmod.bat %creaminitoolssource% %creatoolsGeneration% +set creaminitoolsdll=%creatoolsGeneration%\creatools_bin\%creaminitoolssource%Bin\%buildtype% +rem set PATH=%creaminitoolsdll%;%PATH% + +rem THIS HAS TO BE THE LAST STEP... +rem creaTools +call %currentdir%\cleanmod.bat %creatoolssource% %creatoolsGeneration% +call %currentdir%\cmakemod.bat %creatoolssource% %installPrefix% %creatoolsGeneration% +call %currentdir%\creaToolsVariables.bat %creatoolsGeneration% %creatoolssource% %docgeneration% +call %currentdir%\compilemodCreaTools.bat %buildtype% %creatoolssource% %creatoolsGeneration% +rem remcall ctestmod.bat %creatoolssource% %creatoolsGeneration% +set creatoolsdll=%creatoolsGeneration%\creatools_bin\%creatoolssource%Bin\%buildtype% +rem set PATH=%creatoolssdll%;%PATH% + +REM +REM +REM ...FIN...END... :) +REM +REM +pause rem shutdown /s -exit /b \ No newline at end of file +exit /b +