From b54aa9fec84108e17bc395ddcf15b5b1d5aabace Mon Sep 17 00:00:00 2001 From: Diego Caceres Date: Thu, 12 Jul 2012 14:23:52 +0000 Subject: [PATCH] DFCH: Cleaning creaTools script repository (Those are old files) --- Install/scripts/All.bat | 4 +- Install/scripts/bbtkGEditorVariables.bat | 12 ------ Install/scripts/bbtkVariables.bat | 14 ------- Install/scripts/cleangeneral.bat | 9 ---- Install/scripts/cleanmod.bat | 16 ------- Install/scripts/cmakemod.bat | 31 -------------- Install/scripts/compilemod.bat | 42 ------------------- Install/scripts/compilemodCreaTools.bat | 37 ---------------- Install/scripts/creaBrukerVariables.bat | 8 ---- Install/scripts/creaContoursVariables.bat | 13 ------ Install/scripts/creaImageIOVariables.bat | 11 ----- Install/scripts/creaMaracasVariables.bat | 11 ----- Install/scripts/creaMiniToolsVariables.bat | 18 -------- .../creaRigidRegistrationVariables.bat | 13 ------ Install/scripts/creaToolsVariables.bat | 8 ---- Install/scripts/creaVariables.bat | 8 ---- Install/scripts/creaenvironmentVariables.bat | 8 ---- Install/scripts/ctestmod.bat | 18 -------- Install/scripts/cvscheckout.bat | 7 ---- 19 files changed, 2 insertions(+), 286 deletions(-) delete mode 100644 Install/scripts/bbtkGEditorVariables.bat delete mode 100644 Install/scripts/bbtkVariables.bat delete mode 100644 Install/scripts/cleangeneral.bat delete mode 100644 Install/scripts/cleanmod.bat delete mode 100644 Install/scripts/cmakemod.bat delete mode 100644 Install/scripts/compilemod.bat delete mode 100644 Install/scripts/compilemodCreaTools.bat delete mode 100644 Install/scripts/creaBrukerVariables.bat delete mode 100644 Install/scripts/creaContoursVariables.bat delete mode 100644 Install/scripts/creaImageIOVariables.bat delete mode 100644 Install/scripts/creaMaracasVariables.bat delete mode 100644 Install/scripts/creaMiniToolsVariables.bat delete mode 100644 Install/scripts/creaRigidRegistrationVariables.bat delete mode 100644 Install/scripts/creaToolsVariables.bat delete mode 100644 Install/scripts/creaVariables.bat delete mode 100644 Install/scripts/creaenvironmentVariables.bat delete mode 100644 Install/scripts/ctestmod.bat delete mode 100644 Install/scripts/cvscheckout.bat diff --git a/Install/scripts/All.bat b/Install/scripts/All.bat index f372326..b0a6244 100644 --- a/Install/scripts/All.bat +++ b/Install/scripts/All.bat @@ -8,7 +8,7 @@ set buildtype=%5 set currentFolder=%cd% set logFolder=%currentFolder%\log -goto next + rmdir %logFolder% /s /q mkdir %logFolder% @@ -36,7 +36,7 @@ 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 diff --git a/Install/scripts/bbtkGEditorVariables.bat b/Install/scripts/bbtkGEditorVariables.bat deleted file mode 100644 index 2cc5568..0000000 --- a/Install/scripts/bbtkGEditorVariables.bat +++ /dev/null @@ -1,12 +0,0 @@ -REM %1 = -REM %2 = -REM %3 = - -set binfolder=%1\creatools_bin\%2Bin -cd %binfolder% - -cmake -D crea_DIR:PATH=%1\creatools_install\crea CMakeCache.txt -cmake -D BBTK_DIR:PATH=%1\creatools_install\bbtk CMakeCache.txt -cmake -D creaMaracasVisu_DIR:PATH=%1\creatools_install\creaMaracasVisu CMakeCache.txt -cmake -D BUILD_bbtkGEditor_DOC:BOOL=%3 CMakeCache.txt -cmake CMakeCache.txt diff --git a/Install/scripts/bbtkVariables.bat b/Install/scripts/bbtkVariables.bat deleted file mode 100644 index db13473..0000000 --- a/Install/scripts/bbtkVariables.bat +++ /dev/null @@ -1,14 +0,0 @@ -REM %1 = -REM %2 = -REM %3 = - -set binfolder=%1\creatools_bin\%2Bin -cd %binfolder% - -cmake -D --BUILD_ALL:BOOL=ON -D crea_DIR:PATH=%1\creatools_install\crea CMakeCache.txt -cmake -D BUILD_BBTK_DOC:BOOL=%3 -D BUILD_BBTK_DOC_GUIDES_HTML:BOOL=%3 -D BUILD_BBTK_DOC_GUIDES_PDF:BOOL=%3 -D BUILD_BBTK_DOC_DOXYGEN:BOOL=%3 -D BUILD_BBTK_DOC_PACKAGE:BOOL=%3 CMakeCache.txt - -cmake CMakeCache.txt -cmake CMakeCache.txt -cmake CMakeCache.txt - diff --git a/Install/scripts/cleangeneral.bat b/Install/scripts/cleangeneral.bat deleted file mode 100644 index 2224e86..0000000 --- a/Install/scripts/cleangeneral.bat +++ /dev/null @@ -1,9 +0,0 @@ -REM %1= -REM %2= - -rmdir %2 /s /q -rmdir %1\creatools_bin /s /q -rmdir %1\creatools_sources /s /q -rmdir %1\creatools_install /s /q -rmdir %1\Result_Installers /s /q -mkdir %1\Result_Installers \ No newline at end of file diff --git a/Install/scripts/cleanmod.bat b/Install/scripts/cleanmod.bat deleted file mode 100644 index 61e79f4..0000000 --- a/Install/scripts/cleanmod.bat +++ /dev/null @@ -1,16 +0,0 @@ -REM %1 = -REM %2 = - - -set binfolder=%2\creatools_bin\%1Bin -mkdir %binfolder% -cd %binfolder% -del CMakeCache.txt -del *.exe -del *.dll -del Debug\*.exe -del Debug\*.dll -del Release\*.exe -del Release\*.dll -del RelWithDebInfo\*.exe -del RelWithDebInfo\*.dll diff --git a/Install/scripts/cmakemod.bat b/Install/scripts/cmakemod.bat deleted file mode 100644 index c91daef..0000000 --- a/Install/scripts/cmakemod.bat +++ /dev/null @@ -1,31 +0,0 @@ -REM %1 = -REM %2 = -REM %3 = - -if %PROCESSOR_ARCHITECTURE%==x86 ( - set ProgramFilesPath_x86=%ProgramFiles% - echo "Architecture found = x86" -) else ( - set "ProgramFilesPath_x86=%ProgramFiles(x86)%" - echo "Architecture found = x64" -) - -set compilerVersion="Visual Studio 10" -set vcvarsall="%ProgramFilesPath_x86%\Microsoft Visual Studio 10.0\VC\vcvarsall.bat" -if not exist %vcvarsall% set vcvarsall="%ProgramFilesPath_x64%\Microsoft Visual Studio 10.0\VC\vcvarsall.bat" -if not exist %vcvarsall% ( - set compilerVersion="Visual Studio 9 2008" - set vcvarsall="%ProgramFilesPath_x86%\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" - if not exist %vcvarsall% set vcvarsall="%ProgramFilesPath_x64%\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" - if not exist %vcvarsall% ( - echo ERROR!!! Visual Studio has not been found in the system - exit - ) -) - -set binfolder=%3\creatools_bin\%1Bin -cd %binfolder% - -cmake -G%compilerVersion% -H%3\creatools_sources\%1 -B%3\creatools_bin\%1Bin -cmake -D INCLUDE_CTEST:BOOL=ON -D CMAKE_INSTALL_PREFIX:PATH=%2\%1 CMakeCache.txt - diff --git a/Install/scripts/compilemod.bat b/Install/scripts/compilemod.bat deleted file mode 100644 index d046704..0000000 --- a/Install/scripts/compilemod.bat +++ /dev/null @@ -1,42 +0,0 @@ -REM %1 = -REM %2 = -REM %3 = - -if %PROCESSOR_ARCHITECTURE%==x86 ( - set ProgramFilesPath_x86=%ProgramFiles% - echo "Architecture found = x86" -) else ( - set "ProgramFilesPath_x86=%ProgramFiles(x86)%" - echo "Architecture found = x64" -) -set compilerVersion="Visual Studio 10" -set vcvarsall="%ProgramFilesPath_x86%\Microsoft Visual Studio 10.0\VC\vcvarsall.bat" -if not exist %vcvarsall% set vcvarsall="%ProgramFilesPath_x64%\Microsoft Visual Studio 10.0\VC\vcvarsall.bat" -if not exist %vcvarsall% ( - set compilerVersion="Visual Studio 9 2008" - set vcvarsall="%ProgramFilesPath_x86%\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" - if not exist %vcvarsall% set vcvarsall="%ProgramFilesPath_x64%\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" - if not exist %vcvarsall% ( - echo ERROR!!! Visual Studio has not been found in the system - exit - ) -) - -call %vcvarsall% - -set binfolder=%3\creatools_bin\%2Bin - -cd %binfolder% -if %compilerVersion%=="Visual Studio 10" ( - FOR /R %%a IN (*.sln) DO msbuild %%a /p:Configuration=%1 - msbuild /p:Configuration=%1 ALL_BUILD.vcxproj - msbuild /p:Configuration=%1 INSTALL.vcxproj - msbuild /p:Configuration=%1 PACKAGE.vcxproj - copy %2*.exe %3\Result_Installers\ -) -else ( - FOR /R %%a IN (*.sln) DO msbuild %%a /p:Configuration=%1 - msbuild /p:Configuration=%1 INSTALL.vcproj - msbuild /p:Configuration=%1 PACKAGE.vcproj - copy %2*.exe %3\Result_Installers\ -) diff --git a/Install/scripts/compilemodCreaTools.bat b/Install/scripts/compilemodCreaTools.bat deleted file mode 100644 index 426d5bd..0000000 --- a/Install/scripts/compilemodCreaTools.bat +++ /dev/null @@ -1,37 +0,0 @@ -REM %1 = -REM %2 = -REM %3 = - -if %PROCESSOR_ARCHITECTURE%==x86 ( - set ProgramFilesPath_x86=%ProgramFiles% - echo "Architecture found = x86" -) else ( - set "ProgramFilesPath_x86=%ProgramFiles(x86)%" - echo "Architecture found = x64" -) -set compilerVersion="Visual Studio 10" -set vcvarsall="%ProgramFilesPath_x86%\Microsoft Visual Studio 10.0\VC\vcvarsall.bat" -if not exist %vcvarsall% set vcvarsall="%ProgramFilesPath_x64%\Microsoft Visual Studio 10.0\VC\vcvarsall.bat" -if not exist %vcvarsall% ( - set compilerVersion="Visual Studio 9 2008" - set vcvarsall="%ProgramFilesPath_x86%\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" - if not exist %vcvarsall% set vcvarsall="%ProgramFilesPath_x64%\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" - if not exist %vcvarsall% ( - echo ERROR!!! Visual Studio has not been found in the system - exit - ) -) - -call %vcvarsall% - -set binfolder=%3\creatools_bin\%1Bin - -cd %binfolder% - -if %compilerVersion%=="Visual Studio 10" ( - FOR /R %%a IN (*.sln) DO msbuild /p:Configuration=%1 PACKAGE.vcxproj - copy %2*.exe %3\Result_Installers\ -) else ( - FOR /R %%a IN (*.sln) DO msbuild /p:Configuration=%1 PACKAGE.vcproj - copy %2*.exe %3\Result_Installers\ -) diff --git a/Install/scripts/creaBrukerVariables.bat b/Install/scripts/creaBrukerVariables.bat deleted file mode 100644 index 9e87fe2..0000000 --- a/Install/scripts/creaBrukerVariables.bat +++ /dev/null @@ -1,8 +0,0 @@ -REM %1 = -REM %2 = -REM %3 = - -set binfolder=%1\creatools_bin\%2Bin -cd %binfolder% - -cmake -D --BUILD_ALL:BOOL=OFF -D crea_DIR:PATH=%1\creatools_install\crea -D BUILD_creaBruker_DOC:BOOL=%3 CMakeCache.txt diff --git a/Install/scripts/creaContoursVariables.bat b/Install/scripts/creaContoursVariables.bat deleted file mode 100644 index da4eea9..0000000 --- a/Install/scripts/creaContoursVariables.bat +++ /dev/null @@ -1,13 +0,0 @@ -REM %1 = -REM %2 = -REM %3 = - -set binfolder=%1\creatools_bin\%2Bin -cd %binfolder% - -rem %1=creabrukersource% %2=docgeneration -cmake -D crea_DIR:PATH=%1\creatools_install\crea -D creaEnvironment_DIR:PATH=%1\creatools_install\creaEnvironment -D creaMaracasVisu_DIR:PATH=%1\creatools_install\creaMaracasVisu -D creaImageIO_DIR:PATH=%1\creatools_install\creaImageIO CMakeCache.txt -cmake -D BBTK_DIR:PATH=%1\creatools_install\bbtk CMakeCache.txt -cmake -D creaContours_DOC:BOOL=%2 -D BUILD_BBTK_PACKAGE_creaContours_DOXYGEN_DOC:BOOL=%2 CMakeCache.txt -cmake CMakeCache.txt - diff --git a/Install/scripts/creaImageIOVariables.bat b/Install/scripts/creaImageIOVariables.bat deleted file mode 100644 index a1d9b3f..0000000 --- a/Install/scripts/creaImageIOVariables.bat +++ /dev/null @@ -1,11 +0,0 @@ -REM %1 = -REM %2 = -REM %3 = - -set binfolder=%1\creatools_bin\%2Bin -cd %binfolder% - -cmake -D crea_DIR:PATH=%1\creatools_install\crea -D BUILD_BBTK_PACKAGE_creaImageIO:BOOL=ON -D creaBruker_DIR:PATH=%1\creatools_install\creaBruker -D USE_GDCM:BOOL=ON CMakeCache.txt -cmake -D BBTK_DIR:PATH=%1\creatools_install/bbtk CMakeCache.txt -cmake -D BUILD_DOXYGEN_DOC:BOOL=%3 -D BUILD_BBTK_PACKAGE_creaImageIO_DOXYGEN_DOC:BOOL=%3 CMakeCache.txt -cmake CMakeCache.txt diff --git a/Install/scripts/creaMaracasVariables.bat b/Install/scripts/creaMaracasVariables.bat deleted file mode 100644 index ca43350..0000000 --- a/Install/scripts/creaMaracasVariables.bat +++ /dev/null @@ -1,11 +0,0 @@ -REM %1 = -REM %2 = -REM %3 = - -set binfolder=%1\creatools_bin\%2Bin -cd %binfolder% - -cmake -D crea_DIR:PATH=%1\creatools_install\crea -D BUILD_BBTK_PACKAGE_creaMaracasVisu:BOOL=ON -D creaMaracasVisu_DOC:BOOL=%3 CMakeCache.txt -cmake -D BBTK_DIR:PATH=%1\creatools_install\bbtk CMakeCache.txt -cmake -D BUILD_BBTK_PACKAGE_creaMaracasVisu_DOXYGEN_DOC:BOOL=%3 CMakeCache.txt -cmake CMakeCache.txt diff --git a/Install/scripts/creaMiniToolsVariables.bat b/Install/scripts/creaMiniToolsVariables.bat deleted file mode 100644 index bccc933..0000000 --- a/Install/scripts/creaMiniToolsVariables.bat +++ /dev/null @@ -1,18 +0,0 @@ -REM %1 = -REM %2 = -REM %3 = - -set binfolder=%1\creatools_bin\%2Bin -cd %binfolder% - -cmake -D crea_DIR:PATH=%1\creatools_install\crea CMakeCache.txt -cmake -D BBTK_DIR:PATH=%1\creatools_install\bbtk CMakeCache.txt - -cmake -D BUILD_BBTK_PACKAGE_creaMiniTools:BOOL=ON -D creaMiniTools_DOC:BOOL=%3 CMakeCache.txt -cmake -D BUILD_BBTK_PACKAGE_creaMiniTools_DOXYGEN_DOC:BOOL=%3 CMakeCache.txt - -cmake -D BUILD_BBTK_PACKAGE_creaMiniToolsBase:BOOL=ON -D creaMiniToolsBase_DOC:BOOL=%3 CMakeCache.txt -cmake -D BUILD_BBTK_PACKAGE_creaMiniToolsBase_DOXYGEN_DOC:BOOL=%3 CMakeCache.txt - -cmake CMakeCache.txt - diff --git a/Install/scripts/creaRigidRegistrationVariables.bat b/Install/scripts/creaRigidRegistrationVariables.bat deleted file mode 100644 index 1333c8f..0000000 --- a/Install/scripts/creaRigidRegistrationVariables.bat +++ /dev/null @@ -1,13 +0,0 @@ -REM %1 = -REM %2 = -REM %3 = - -set binfolder=%1\creatools_bin\%2Bin -cd %binfolder% - -cmake -D crea_DIR:PATH=%1\creatools_install\crea -D BUILD_BBTK_PACKAGE_PackRecalage:BOOL=ON CMakeCache.txt -cmake -D BBTK_DIR:PATH=%1\creatools_install\bbtk CMakeCache.txt -cmake -D BUILD_creaRigidRegistration_DOC:BOOL=%3 -D BUILD_BBTK_PACKAGE_PackRecalage_DOXYGEN_DOC:BOOL=%3 CMakeCache.txt -cmake CMakeCache.txt -cmake CMakeCache.txt - diff --git a/Install/scripts/creaToolsVariables.bat b/Install/scripts/creaToolsVariables.bat deleted file mode 100644 index c5f8223..0000000 --- a/Install/scripts/creaToolsVariables.bat +++ /dev/null @@ -1,8 +0,0 @@ -REM %1 = -REM %2 = -REM %3 = - -set binfolder=%1\creatools_bin\%2Bin -cd %binfolder% - -cmake -D CREATOOLS_SOURCE_PATH:PATH=%1\creatools_install CMakeCache.txt diff --git a/Install/scripts/creaVariables.bat b/Install/scripts/creaVariables.bat deleted file mode 100644 index 94d2941..0000000 --- a/Install/scripts/creaVariables.bat +++ /dev/null @@ -1,8 +0,0 @@ -REM %1 = -REM %2 = -REM %3 = - -set binfolder=%1\creatools_bin\%2Bin -cd %binfolder% - -cmake -D CREA_BUILD_VTK:BOOL=ON -D CREA_BUILD_WX:BOOL=ON CMakeCache.txt diff --git a/Install/scripts/creaenvironmentVariables.bat b/Install/scripts/creaenvironmentVariables.bat deleted file mode 100644 index fabf2e1..0000000 --- a/Install/scripts/creaenvironmentVariables.bat +++ /dev/null @@ -1,8 +0,0 @@ -REM %1 = -REM %2 = -REM %3 = - -set binfolder=%1\creatools_bin\%2Bin -cd %binfolder% - -cmake -D crea_DIR:PATH=%1\creatools_install\crea CMakeCache.txt diff --git a/Install/scripts/ctestmod.bat b/Install/scripts/ctestmod.bat deleted file mode 100644 index 786f835..0000000 --- a/Install/scripts/ctestmod.bat +++ /dev/null @@ -1,18 +0,0 @@ -REM %1= -REM %2 = - -set binfolder=%2\creatools_bin\%1Bin - -cd %binfolder% - -cmake -D BUILD_TESTING:BOOL=OFF -D INCLUDE_CTEST:BOOL=OFF CMakeCache.txt - -rem EED>> ctest -D ContinuousStart -D ContinuousUpdate -D ContinuousConfigure -D ContinuousBuild -D ContinuousTest -D ContinuousSubmit -rem EED>> ctest -D ContinuousMemCheck -D ContinuousSubmit -rem EED>> ctest -D ExperimentalStart -D ExperimentalUpdate -D ExperimentalConfigure -D ExperimentalBuild -D ExperimentalTest -D ExperimentalSubmit -rem EED>> ctest -D ExperimentalMemCheck -D ExperimentalSubmit - -rem EED-12mai2011>> ctest -D ExperimentalConfigure -D ExperimentalBuild - -rem EED>> ctest -D NightlyStart -D NightlyUpdate -D NightlyConfigure -D NightlyBuild -D NightlyTest -D NightlySubmit -rem EED>> ctest -D NightlyMemCheck -D NightlySubmit diff --git a/Install/scripts/cvscheckout.bat b/Install/scripts/cvscheckout.bat deleted file mode 100644 index 08a93e0..0000000 --- a/Install/scripts/cvscheckout.bat +++ /dev/null @@ -1,7 +0,0 @@ -rem %1 = creasourcefolder -rem %2 = cvsUser -rem %3 = creatoolsGeneration - -mkdir %3\creatools_sources -cd %3\creatools_sources -cvs -d :ssh:%2@cvs.creatis.insa-lyon.fr:/cvs/creatis checkout %1 -- 2.47.1