From: Juan Prieto Date: Tue, 24 Aug 2010 14:31:00 +0000 (+0000) Subject: automatic compilation in win32 X-Git-Tag: CREATOOLS.2-0-3~87 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=9cdb3fedbeca78a4c54db8be1fa6b7f089b1854e;p=creaToolsTools.git automatic compilation in win32 --- diff --git a/ctest/dashboard/All.bat b/ctest/dashboard/All.bat index e12f165..9665aac 100644 --- a/ctest/dashboard/All.bat +++ b/ctest/dashboard/All.bat @@ -4,11 +4,11 @@ set buildtype=Release rem CREA set creasourcefolder=crea set creabinfolder=creaBin -call cvscheckout.bat %creasourcefolder% -call cmakemod.bat %creasourcefolder% %creabinfolder% -call creaVariables.bat %creabinfolder% -call compilemod.bat %buildtype% %creabinfolder% -call ctestmod.bat %creabinfolder% +rem call cvscheckout.bat %creasourcefolder% +rem call cmakemod.bat %creasourcefolder% %creabinfolder% +rem call creaVariables.bat %creabinfolder% +rem call compilemod.bat %buildtype% %creabinfolder% +rem call ctestmod.bat %creabinfolder% set creadll=%~dp0 set creadll=%creadll%%creabinfolder%\%buildtype% set PATH=%creadll%;%PATH% @@ -16,11 +16,11 @@ set PATH=%creadll%;%PATH% rem BBTK set bbtksourcefolder=bbtk set bbtkbinfolder=bbtkBin -call cvscheckout.bat %bbtksourcefolder% -call cmakemod.bat %bbtksourcefolder% %bbtkbinfolder% -call bbtkVariables.bat %bbtkbinfolder% %creabinfolder% -call compilemod.bat %buildtype% %bbtkbinfolder% -call ctestmod.bat %bbtkbinfolder% +rem call cvscheckout.bat %bbtksourcefolder% +rem call cmakemod.bat %bbtksourcefolder% %bbtkbinfolder% +rem call bbtkVariables.bat %bbtkbinfolder% %creabinfolder% +rem call compilemod.bat %buildtype% %bbtkbinfolder% +rem call ctestmod.bat %bbtkbinfolder% set bbtkdll=%~dp0 set bbtkdll=%bbtkdll%%bbtkbinfolder%\%buildtype% set PATH=%bbtkdll%;%PATH% @@ -28,33 +28,33 @@ set PATH=%bbtkdll%;%PATH% rem creaMaracasVisu set creamaracassourcefolder=creaMaracasVisu set creamaracasbinary=creaMaracasVisuBin -call cvscheckout.bat %creamaracassourcefolder% -call cmakemod.bat %creamaracassourcefolder% %creamaracasbinary% -call creaMaracasVariables.bat %creamaracasbinary% %creabinfolder% %bbtkbinfolder% -call compilemod.bat %buildtype% %creamaracasbinary% -call ctestmod.bat %creamaracasbinary% +rem call cvscheckout.bat %creamaracassourcefolder% +rem call cmakemod.bat %creamaracassourcefolder% %creamaracasbinary% +rem call creaMaracasVariables.bat %creamaracasbinary% %creabinfolder% %bbtkbinfolder% +rem call compilemod.bat %buildtype% %creamaracasbinary% +rem call ctestmod.bat %creamaracasbinary% set creamaracasdll=%~dp0%creamaracasbinary%\%buildtype% set PATH=%creamaracasdll%;%PATH% rem creaEnvironment set creaenvironmentsource=creaEnvironment set creaenvironmentbinary=creaEnvironmentBin -call cvscheckout.bat %creaenvironmentsource% -call cmakemod.bat %creaenvironmentsource% %creaenvironmentbinary% -call creaenvironmentVariables.bat %creaenvironmentbinary% %creabinfolder% -call compilemod.bat %buildtype% %creaenvironmentbinary% -call ctestmod.bat %creaenvironmentbinary% +rem call cvscheckout.bat %creaenvironmentsource% +rem call cmakemod.bat %creaenvironmentsource% %creaenvironmentbinary% +rem call creaenvironmentVariables.bat %creaenvironmentbinary% %creabinfolder% +rem call compilemod.bat %buildtype% %creaenvironmentbinary% +rem call ctestmod.bat %creaenvironmentbinary% set creaenvironmentdll=%~dp0%creaenvironmentbinary%\%buildtype% set PATH=%creaenvironmentdll%;%PATH% rem creaBruker set creabrukersource=creaBruker set creabrukerbinary=creaBrukerBin -call cvscheckout.bat %creabrukersource% -call cmakemod.bat %creabrukersource% %creabrukerbinary% -call creaenvironmentVariables.bat %creabrukerbinary% %creabinfolder% -call compilemod.bat %buildtype% %creabrukerbinary% -call ctestmod.bat %creabrukerbinary% +rem call cvscheckout.bat %creabrukersource% +rem call cmakemod.bat %creabrukersource% %creabrukerbinary% +rem call creaenvironmentVariables.bat %creabrukerbinary% %creabinfolder% +rem call compilemod.bat %buildtype% %creabrukerbinary% +rem call ctestmod.bat %creabrukerbinary% set creabrukerdll=%~dp0%creabrukerbinary%\%buildtype% set PATH=%creabrukerdll%;%PATH% @@ -63,18 +63,18 @@ set creaimagesourcefolder=creaImageIO set creaimagebinary=creaImageIOBin call cvscheckout.bat %creaimagesourcefolder% call cmakemod.bat %creaimagesourcefolder% %creaimagebinary% -call creaMaracasVariables.bat %creaimagebinary% %creabinfolder% %bbtkbinfolder% +call creaImageIOVariables.bat %creaimagebinary% %creabinfolder% %bbtkbinfolder% %creabrukerbinary% call compilemod.bat %buildtype% %creaimagebinary% call ctestmod.bat %creaimagebinary% -set creamaracasdll=%~dp0%creaimagebinary%\%buildtype% -set PATH=%creamaracasdll%;%PATH% +set creaimagedll=%~dp0%creaimagebinary%\%buildtype% +set PATH=%creaimagedll%;%PATH% rem creaContours set creacontourssource=creaContours set creacontoursbinary=creaContoursBin call cvscheckout.bat %creacontourssource% call cmakemod.bat %creacontourssource% %creacontoursbinary% -call creaContoursVariables.bat %creacontoursbinary% %creabinfolder% %creaenvironmentbinary% %creamaracasbinary% %creaimagebinary% %creabrukerbinary% +call creaContoursVariables.bat %creacontoursbinary% %creabinfolder% %creaenvironmentbinary% %creamaracasbinary% %creaimagebinary% call compilemod.bat %buildtype% %creacontoursbinary% call ctestmod.bat %creacontoursbinary% diff --git a/ctest/dashboard/creaContoursVariables.bat b/ctest/dashboard/creaContoursVariables.bat index 7ee0ab2..9a69134 100644 --- a/ctest/dashboard/creaContoursVariables.bat +++ b/ctest/dashboard/creaContoursVariables.bat @@ -1,8 +1,8 @@ -rem %creabinfolder% %creaenvironmentbinary% %creamaracasbinary% %creaimagebinary% %creabrukerbinary% +rem %1=creacontoursbinary %2=creabinfolder% %3=creaenvironmentbinary %4=creamaracasbinary %5=creaimagebinary %6=bbtkBin set currentdir=%~dp0 set currentdir=%currentdir:\=/% cd %1 -cmake -D crea_DIR:PATH=%currentdir%%2 -D -D creaEnvironment_DIR:PATH=%currentdir%%3 -D creaMaracasVisu_DIR:PATH=%currentdir%%4 -D creaImageIO_DIR:PATH=%currentdir%%5 CMakeCache.txt +cmake -D crea_DIR:PATH=%currentdir%%2 -D creaEnvironment_DIR:PATH=%currentdir%%3 -D creaMaracasVisu_DIR:PATH=%currentdir%%4 -D creaImageIO_DIR:PATH=%currentdir%%5 -D BUILD_BBTK_PACKAGE_creaContours:PATH=%currentdir%%6 CMakeCache.txt cmake CMakeCache.txt cd .. \ No newline at end of file diff --git a/ctest/dashboard/creaImageIOVariables.bat b/ctest/dashboard/creaImageIOVariables.bat new file mode 100644 index 0000000..d077209 --- /dev/null +++ b/ctest/dashboard/creaImageIOVariables.bat @@ -0,0 +1,8 @@ +rem %1 is the binary folder %2 is the binary folder crea %3 is the binaryfolder bbtk +set currentdir=%~dp0 +set currentdir=%currentdir:\=/% + +cd %1 +cmake -D crea_DIR:PATH=%currentdir%%2 -D BUILD_BBTK_PACKAGE_creaImageIO:BOOL=ON -D BBTK_BIN_PATH:PATH=%currentdir%%3 -D creaImageIO_DOC:BOOL=ON -D creaBruker_DIR:PATH=%currentdir%%4 -D USE_GDCM:BOOL=ON CMakeCache.txt +cmake CMakeCache.txt +cd .. \ No newline at end of file diff --git a/ctest/dashboard/cvscheckout.bat b/ctest/dashboard/cvscheckout.bat index 6c2f9d1..ed50958 100644 --- a/ctest/dashboard/cvscheckout.bat +++ b/ctest/dashboard/cvscheckout.bat @@ -1,2 +1,2 @@ -rem change the user name of your cvs acount cvs -d :ssh:@cvs.creatis.insa-lyon.fr:/cvs/creatis checkout %1 + cvs -d :ssh:prieto@cvs.creatis.insa-lyon.fr:/cvs/creatis checkout %1 \ No newline at end of file