From 76b619ab0e27bc37f25663c06ae840452a11856f Mon Sep 17 00:00:00 2001 From: Eduardo DAVILA Date: Fri, 27 Jul 2018 16:46:32 +0200 Subject: [PATCH] #3200 creaToolsTools Feature New Normal branch mingw64 --- .../Install_CreaTools/scripts/All2.bat | 9 ++- .../scripts/creaBrukerInstall.bat | 37 ++++++++++++ .../scripts/creaBrukerVariables.bat | 44 ++++++++++++++ .../scripts/creaContoursInstall.bat | 36 +++++++++++ .../scripts/creaContoursVariables.bat | 54 +++++++++++++++++ .../scripts/creaEnvironmentInstall.bat | 36 +++++++++++ .../scripts/creaImageIOInstall.bat | 36 +++++++++++ .../scripts/creaImageIOVariables.bat | 51 ++++++++++++++++ .../scripts/creaMaracasVariables.bat | 59 +++++++++++++++++++ .../scripts/creaMaracasVisuInstall.bat | 36 +++++++++++ .../scripts/creaVtkInstall.bat | 36 +++++++++++ .../scripts/creaVtkVariables.bat | 51 ++++++++++++++++ .../scripts/creaenvironmentVariables.bat | 44 ++++++++++++++ 13 files changed, 524 insertions(+), 5 deletions(-) create mode 100644 Install_mingw64/Install_CreaTools/scripts/creaBrukerInstall.bat create mode 100644 Install_mingw64/Install_CreaTools/scripts/creaBrukerVariables.bat create mode 100644 Install_mingw64/Install_CreaTools/scripts/creaContoursInstall.bat create mode 100644 Install_mingw64/Install_CreaTools/scripts/creaContoursVariables.bat create mode 100644 Install_mingw64/Install_CreaTools/scripts/creaEnvironmentInstall.bat create mode 100644 Install_mingw64/Install_CreaTools/scripts/creaImageIOInstall.bat create mode 100644 Install_mingw64/Install_CreaTools/scripts/creaImageIOVariables.bat create mode 100644 Install_mingw64/Install_CreaTools/scripts/creaMaracasVariables.bat create mode 100644 Install_mingw64/Install_CreaTools/scripts/creaMaracasVisuInstall.bat create mode 100644 Install_mingw64/Install_CreaTools/scripts/creaVtkInstall.bat create mode 100644 Install_mingw64/Install_CreaTools/scripts/creaVtkVariables.bat create mode 100644 Install_mingw64/Install_CreaTools/scripts/creaenvironmentVariables.bat diff --git a/Install_mingw64/Install_CreaTools/scripts/All2.bat b/Install_mingw64/Install_CreaTools/scripts/All2.bat index a49f7c9..7dbafb4 100644 --- a/Install_mingw64/Install_CreaTools/scripts/All2.bat +++ b/Install_mingw64/Install_CreaTools/scripts/All2.bat @@ -51,9 +51,8 @@ REM :skypToEED ::echo call compile crea ::start /B /wait %scriptsFolder%\creaInstall.bat -echo call compile bbtk -start /B /wait %scriptsFolder%\bbtkInstall.bat - +::echo call compile bbtk +::start /B /wait %scriptsFolder%\bbtkInstall.bat ::echo call compile creaMaracasVisu ::start /B /wait %scriptsFolder%\creaMaracasVisuInstall.bat ::echo call compile creaVtk @@ -64,8 +63,8 @@ start /B /wait %scriptsFolder%\bbtkInstall.bat ::start /B /wait %scriptsFolder%\creaBrukerInstall.bat ::echo call compile creaImageIO ::start /B /wait %scriptsFolder%\creaImageIOInstall.bat -::echo call compile creaContours -::start /B /wait %scriptsFolder%\creaContoursInstall.bat +echo call compile creaContours +start /B /wait %scriptsFolder%\creaContoursInstall.bat ::echo call compile creaRigidRegistration ::start /B /wait %scriptsFolder%\creaRigidRInstall.bat ::echo call compile bbtkGEditor diff --git a/Install_mingw64/Install_CreaTools/scripts/creaBrukerInstall.bat b/Install_mingw64/Install_CreaTools/scripts/creaBrukerInstall.bat new file mode 100644 index 0000000..5fcfac4 --- /dev/null +++ b/Install_mingw64/Install_CreaTools/scripts/creaBrukerInstall.bat @@ -0,0 +1,37 @@ +REM --------------------------------------------------------------------- +REM +REM Copyright (c) CREATIS (Centre de Recherche en Acquisition et Traitement de l'Image +REM pour la Santé) +REM Authors : Eduardo Davila, Frederic Cervenansky, Claire Mouton +REM +REM This software is governed by the CeCILL-B license under French law and +REM abiding by the rules of distribution of free software. You can use, +REM modify and/ or redistribute the software under the terms of the CeCILL-B +REM license as circulated by CEA, CNRS and INRIA at the following URL +REM http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html +REM or in the file LICENSE.txt. +REM +REM As a counterpart to the access to the source code and rights to copy, +REM modify and redistribute granted by the license, users are provided only +REM with a limited warranty and the software's author, the holder of the +REM economic rights, and the successive licensors have only limited +REM liability. +REM +REM The fact that you are presently reading this means that you have had +REM knowledge of the CeCILL-B license and that you accept its terms. +REM ------------------------------------------------------------------------ + +@echo off + +set currentdir=%~dp0 + +echo compile creaBruker %buildType% %platforme% +call %baseFolder%\cleanmod.bat %creabrukersource% %creatoolsGeneration% >> %logFolder%\creaBrukerInstall.log 2>&1 +call %baseFolder%\cmakemod.bat %creabrukersource% %installPrefix% %creatoolsGeneration% >> %logFolder%\creaBrukerInstall.log 2>&1 +call %currentdir%\creaBrukerVariables.bat %creatoolsGeneration% %creabrukersource% %docgeneration% %buildtype% >> %logFolder%\creaBrukerInstall.log 2>&1 +call %baseFolder%\compilemod.bat %buildtype% %creabrukersource% %creatoolsGeneration% >> %logFolder%\creaBrukerInstall.log 2>&1 +call %baseFolder%\ctestmod.bat %creabrukersource% %creatoolsGeneration% >> %logFolder%\creaBrukerInstall.log 2>&1 + +echo endo of creaBruker compilation + +exit \ No newline at end of file diff --git a/Install_mingw64/Install_CreaTools/scripts/creaBrukerVariables.bat b/Install_mingw64/Install_CreaTools/scripts/creaBrukerVariables.bat new file mode 100644 index 0000000..eddbdeb --- /dev/null +++ b/Install_mingw64/Install_CreaTools/scripts/creaBrukerVariables.bat @@ -0,0 +1,44 @@ +REM --------------------------------------------------------------------- +REM +REM Copyright (c) CREATIS (Centre de Recherche en Acquisition et Traitement de l'Image +REM pour la Santé) +REM Authors : Eduardo Davila, Frederic Cervenansky, Claire Mouton +REM +REM This software is governed by the CeCILL-B license under French law and +REM abiding by the rules of distribution of free software. You can use, +REM modify and/ or redistribute the software under the terms of the CeCILL-B +REM license as circulated by CEA, CNRS and INRIA at the following URL +REM http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html +REM or in the file LICENSE.txt. +REM +REM As a counterpart to the access to the source code and rights to copy, +REM modify and redistribute granted by the license, users are provided only +REM with a limited warranty and the software's author, the holder of the +REM economic rights, and the successive licensors have only limited +REM liability. +REM +REM The fact that you are presently reading this means that you have had +REM knowledge of the CeCILL-B license and that you accept its terms. +REM ------------------------------------------------------------------------ + +@echo off +echo ---------------------------- +echo --creaBrukerVariables.bat--- +echo ---------------------------- + +echo creatoolsGeneration = %1 +echo creabrukersource = %2 +echo docgeneration = %3 +echo buildType = %4 + +set binfolder=%1\c_%buildtype%%platforme%\cb\%2Bin +cd %binfolder% + +IF %4==Debug ( + cmake -D WXWIDGETS_USE_DEBUG:BOOL=ON CMakeCache.txt +) + +::cmake -D --BUILD_ALL:BOOL=OFF -D crea_DIR:PATH=%1\creatools_%buildtype%%platforme%\creatools_install\crea -D BUILD_creaBruker_DOC:BOOL=%3 CMakeCache.txt +%cmakeBin% -D --BUILD_ALL:BOOL=OFF -D crea_DIR:PATH=%1\c_%buildtype%%platforme%\ci\crea -D BUILD_creaBruker_DOC:BOOL=%3 CMakeCache.txt + +exit /B \ No newline at end of file diff --git a/Install_mingw64/Install_CreaTools/scripts/creaContoursInstall.bat b/Install_mingw64/Install_CreaTools/scripts/creaContoursInstall.bat new file mode 100644 index 0000000..5cc8479 --- /dev/null +++ b/Install_mingw64/Install_CreaTools/scripts/creaContoursInstall.bat @@ -0,0 +1,36 @@ +REM --------------------------------------------------------------------- +REM +REM Copyright (c) CREATIS (Centre de Recherche en Acquisition et Traitement de l'Image +REM pour la Santé) +REM Authors : Eduardo Davila, Frederic Cervenansky, Claire Mouton +REM +REM This software is governed by the CeCILL-B license under French law and +REM abiding by the rules of distribution of free software. You can use, +REM modify and/ or redistribute the software under the terms of the CeCILL-B +REM license as circulated by CEA, CNRS and INRIA at the following URL +REM http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html +REM or in the file LICENSE.txt. +REM +REM As a counterpart to the access to the source code and rights to copy, +REM modify and redistribute granted by the license, users are provided only +REM with a limited warranty and the software's author, the holder of the +REM economic rights, and the successive licensors have only limited +REM liability. +REM +REM The fact that you are presently reading this means that you have had +REM knowledge of the CeCILL-B license and that you accept its terms. +REM ------------------------------------------------------------------------ + +@echo off + +set currentdir=%~dp0 + +echo compile creaContours %buildType% %platforme% +call %baseFolder%\cleanmod.bat %creacontourssource% %creatoolsGeneration% >> %logFolder%\creaContoursInstall.log 2>&1 +call %baseFolder%\cmakemod.bat %creacontourssource% %installPrefix% %creatoolsGeneration% >> %logFolder%\creaContoursInstall.log 2>&1 +call %currentdir%\creaContoursVariables.bat %creatoolsGeneration% %creacontourssource% %docgeneration% %buildtype% >> %logFolder%\creaContoursInstall.log 2>&1 +call %baseFolder%\compilemod.bat %buildtype% %creacontourssource% %creatoolsGeneration% >> %logFolder%\creaContoursInstall.log 2>&1 +call %baseFolder%\ctestmod.bat %creacontourssource% %creatoolsGeneration% >> %logFolder%\creaContoursInstall.log 2>&1 +echo end of creaContours compilation + +exit \ No newline at end of file diff --git a/Install_mingw64/Install_CreaTools/scripts/creaContoursVariables.bat b/Install_mingw64/Install_CreaTools/scripts/creaContoursVariables.bat new file mode 100644 index 0000000..87e4df5 --- /dev/null +++ b/Install_mingw64/Install_CreaTools/scripts/creaContoursVariables.bat @@ -0,0 +1,54 @@ +REM --------------------------------------------------------------------- +REM +REM Copyright (c) CREATIS (Centre de Recherche en Acquisition et Traitement de l'Image +REM pour la Santé) +REM Authors : Eduardo Davila, Frederic Cervenansky, Claire Mouton +REM +REM This software is governed by the CeCILL-B license under French law and +REM abiding by the rules of distribution of free software. You can use, +REM modify and/ or redistribute the software under the terms of the CeCILL-B +REM license as circulated by CEA, CNRS and INRIA at the following URL +REM http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html +REM or in the file LICENSE.txt. +REM +REM As a counterpart to the access to the source code and rights to copy, +REM modify and redistribute granted by the license, users are provided only +REM with a limited warranty and the software's author, the holder of the +REM economic rights, and the successive licensors have only limited +REM liability. +REM +REM The fact that you are presently reading this means that you have had +REM knowledge of the CeCILL-B license and that you accept its terms. +REM ------------------------------------------------------------------------ + +@echo off +echo ---------------------------- +echo --creaContourVariables.bat-- +echo ---------------------------- + +echo creatoolsGeneration = %1 +echo creacontourssource = %2 +echo docgeneration = %3 +echo buildType = %4 + +set binfolder=%1\c_%buildtype%%platforme%\cb\%2Bin +cd %binfolder% + +IF %4==Debug ( + cmake -D WXWIDGETS_USE_DEBUG:BOOL=ON CMakeCache.txt +) + +echo %1=creabrukersource% %2=docgeneration + +::cmake -D crea_DIR:PATH=%1\creatools_%buildtype%%platforme%\creatools_install\crea -D creaEnvironment_DIR:PATH=%1\creatools_%buildtype%%platforme%\creatools_install\creaEnvironment -D creaMaracasVisu_DIR:PATH=%1\creatools_%buildtype%%platforme%\creatools_install\creaMaracasVisu -D creaImageIO_DIR:PATH=%1\creatools_%buildtype%%platforme%\creatools_install\creaImageIO CMakeCache.txt +::cmake -D BBTK_DIR:PATH=%1\creatools_%buildtype%%platforme%\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 + +%cmakeBin% -D crea_DIR:PATH=%1\c_%buildtype%%platforme%\ci\crea -D creaEnvironment_DIR:PATH=%1\c_%buildtype%%platforme%\ci\creaEnvironment -D creaMaracasVisu_DIR:PATH=%1\c_%buildtype%%platforme%\ci\creaMaracasVisu -D creaImageIO_DIR:PATH=%1\c_%buildtype%%platforme%\ci\creaImageIO CMakeCache.txt +%cmakeBin% -D BBTK_DIR:PATH=%1\c_%buildtype%%platforme%\ci\bbtk CMakeCache.txt +%cmakeBin% -D creaContours_DOC:BOOL=%2 -D BUILD_BBTK_PACKAGE_creaContours_DOXYGEN_DOC:BOOL=%2 CMakeCache.txt +%cmakeBin% CMakeCache.txt + + +exit /B diff --git a/Install_mingw64/Install_CreaTools/scripts/creaEnvironmentInstall.bat b/Install_mingw64/Install_CreaTools/scripts/creaEnvironmentInstall.bat new file mode 100644 index 0000000..345fe0f --- /dev/null +++ b/Install_mingw64/Install_CreaTools/scripts/creaEnvironmentInstall.bat @@ -0,0 +1,36 @@ +REM --------------------------------------------------------------------- +REM +REM Copyright (c) CREATIS (Centre de Recherche en Acquisition et Traitement de l'Image +REM pour la Santé) +REM Authors : Eduardo Davila, Frederic Cervenansky, Claire Mouton +REM +REM This software is governed by the CeCILL-B license under French law and +REM abiding by the rules of distribution of free software. You can use, +REM modify and/ or redistribute the software under the terms of the CeCILL-B +REM license as circulated by CEA, CNRS and INRIA at the following URL +REM http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html +REM or in the file LICENSE.txt. +REM +REM As a counterpart to the access to the source code and rights to copy, +REM modify and redistribute granted by the license, users are provided only +REM with a limited warranty and the software's author, the holder of the +REM economic rights, and the successive licensors have only limited +REM liability. +REM +REM The fact that you are presently reading this means that you have had +REM knowledge of the CeCILL-B license and that you accept its terms. +REM ------------------------------------------------------------------------ + +@echo off + +set currentdir=%~dp0 + +echo compile creaEnvironment %buildType% %platforme% +call %baseFolder%\cleanmod.bat %creaenvironmentsource% %creatoolsGeneration% >> %logFolder%\creaEnvironmentInstall.log 2>&1 +call %baseFolder%\cmakemod.bat %creaenvironmentsource% %installPrefix% %creatoolsGeneration% >> %logFolder%\creaEnvironmentInstall.log 2>&1 +call %currentdir%\creaenvironmentVariables.bat %creatoolsGeneration% %creaenvironmentsource% %docgeneration% %buildtype% >> %logFolder%\creaEnvironmentInstall.log 2>&1 +call %baseFolder%\compilemod.bat %buildtype% %creaenvironmentsource% %creatoolsGeneration% >> %logFolder%\creaEnvironmentInstall.log 2>&1 +call %baseFolder%\ctestmod.bat %creaenvironmentsource% %creatoolsGeneration% >> %logFolder%\creaEnvironmentInstall.log 2>&1 +echo end of creaEnvironment compilation + +exit \ No newline at end of file diff --git a/Install_mingw64/Install_CreaTools/scripts/creaImageIOInstall.bat b/Install_mingw64/Install_CreaTools/scripts/creaImageIOInstall.bat new file mode 100644 index 0000000..b9e01eb --- /dev/null +++ b/Install_mingw64/Install_CreaTools/scripts/creaImageIOInstall.bat @@ -0,0 +1,36 @@ +REM --------------------------------------------------------------------- +REM +REM Copyright (c) CREATIS (Centre de Recherche en Acquisition et Traitement de l'Image +REM pour la Santé) +REM Authors : Eduardo Davila, Frederic Cervenansky, Claire Mouton +REM +REM This software is governed by the CeCILL-B license under French law and +REM abiding by the rules of distribution of free software. You can use, +REM modify and/ or redistribute the software under the terms of the CeCILL-B +REM license as circulated by CEA, CNRS and INRIA at the following URL +REM http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html +REM or in the file LICENSE.txt. +REM +REM As a counterpart to the access to the source code and rights to copy, +REM modify and redistribute granted by the license, users are provided only +REM with a limited warranty and the software's author, the holder of the +REM economic rights, and the successive licensors have only limited +REM liability. +REM +REM The fact that you are presently reading this means that you have had +REM knowledge of the CeCILL-B license and that you accept its terms. +REM ------------------------------------------------------------------------ + +@echo off + +set currentdir=%~dp0 + +echo compile creaImageIO %buildtype% %platforme% +call %baseFolder%\cleanmod.bat %creaimagesource% %creatoolsGeneration% >> %logFolder%\creaImageIOInstall.log 2>&1 +call %baseFolder%\cmakemod.bat %creaimagesource% %installPrefix% %creatoolsGeneration% >> %logFolder%\creaImageIOInstall.log 2>&1 +call %currentdir%\creaImageIOVariables.bat %creatoolsGeneration% %creaimagesource% %docgeneration% %buildtype% >> %logFolder%\creaImageIOInstall.log 2>&1 +call %baseFolder%\compilemod.bat %buildtype% %creaimagesource% %creatoolsGeneration% >> %logFolder%\creaImageIOInstall.log 2>&1 +call %baseFolder%\ctestmod.bat %creaimagesource% %creatoolsGeneration% >> %logFolder%\creaImageIOInstall.log 2>&1 +echo end of creaImageIO compilation + +exit \ No newline at end of file diff --git a/Install_mingw64/Install_CreaTools/scripts/creaImageIOVariables.bat b/Install_mingw64/Install_CreaTools/scripts/creaImageIOVariables.bat new file mode 100644 index 0000000..8bddc51 --- /dev/null +++ b/Install_mingw64/Install_CreaTools/scripts/creaImageIOVariables.bat @@ -0,0 +1,51 @@ +REM --------------------------------------------------------------------- +REM +REM Copyright (c) CREATIS (Centre de Recherche en Acquisition et Traitement de l'Image +REM pour la Santé) +REM Authors : Eduardo Davila, Frederic Cervenansky, Claire Mouton +REM +REM This software is governed by the CeCILL-B license under French law and +REM abiding by the rules of distribution of free software. You can use, +REM modify and/ or redistribute the software under the terms of the CeCILL-B +REM license as circulated by CEA, CNRS and INRIA at the following URL +REM http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html +REM or in the file LICENSE.txt. +REM +REM As a counterpart to the access to the source code and rights to copy, +REM modify and redistribute granted by the license, users are provided only +REM with a limited warranty and the software's author, the holder of the +REM economic rights, and the successive licensors have only limited +REM liability. +REM +REM The fact that you are presently reading this means that you have had +REM knowledge of the CeCILL-B license and that you accept its terms. +REM ------------------------------------------------------------------------ + +@echo off +echo ---------------------------- +echo ----creaIOVariable.bat------ +echo ---------------------------- + +echo creatoolsGeneration = %1 +echo creaimagesource = %2 +echo docgeneration = %3 +echo buildType = %4 + +set binfolder=%1\c_%buildtype%%platforme%\cb\%2Bin +cd %binfolder% + +IF %4==Debug ( + cmake -D WXWIDGETS_USE_DEBUG:BOOL=ON CMakeCache.txt +) + +::cmake -D BBTK_DIR:PATH=%1\creatools_%buildtype%%platforme%\creatools_install\bbtk CMakeCache.txt +::cmake -D crea_DIR:PATH=%1\creatools_%buildtype%%platforme%\creatools_install\crea -D BUILD_BBTK_PACKAGE_creaImageIO:BOOL=ON -D creaBruker_DIR:PATH=%1\creatools_%buildtype%%platforme%\creatools_install\creaBruker -D USE_GDCM:BOOL=ON CMakeCache.txt +::cmake -D BUILD_DOXYGEN_DOC:BOOL=%3 -D BUILD_BBTK_PACKAGE_creaImageIO_DOXYGEN_DOC:BOOL=%3 CMakeCache.txt +::cmake CMakeCache.txt + +%cmakeBin% -D BBTK_DIR:PATH=%1\c_%buildtype%%platforme%\ci\bbtk CMakeCache.txt +%cmakeBin% -D crea_DIR:PATH=%1\c_%buildtype%%platforme%\ci\crea -D BUILD_BBTK_PACKAGE_creaImageIO:BOOL=ON -D creaBruker_DIR:PATH=%1\c_%buildtype%%platforme%\ci\creaBruker -D USE_GDCM:BOOL=ON CMakeCache.txt +%cmakeBin% -D BUILD_DOXYGEN_DOC:BOOL=%3 -D BUILD_BBTK_PACKAGE_creaImageIO_DOXYGEN_DOC:BOOL=%3 CMakeCache.txt +%cmakeBin% -D CMAKE_CXX_FLAGS:STRING="-fpermissive" CMakeCache.txt + +exit /B \ No newline at end of file diff --git a/Install_mingw64/Install_CreaTools/scripts/creaMaracasVariables.bat b/Install_mingw64/Install_CreaTools/scripts/creaMaracasVariables.bat new file mode 100644 index 0000000..da0f4cd --- /dev/null +++ b/Install_mingw64/Install_CreaTools/scripts/creaMaracasVariables.bat @@ -0,0 +1,59 @@ +REM --------------------------------------------------------------------- +REM +REM Copyright (c) CREATIS (Centre de Recherche en Acquisition et Traitement de l'Image +REM pour la Santé) +REM Authors : Eduardo Davila, Frederic Cervenansky, Claire Mouton +REM +REM This software is governed by the CeCILL-B license under French law and +REM abiding by the rules of distribution of free software. You can use, +REM modify and/ or redistribute the software under the terms of the CeCILL-B +REM license as circulated by CEA, CNRS and INRIA at the following URL +REM http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html +REM or in the file LICENSE.txt. +REM +REM As a counterpart to the access to the source code and rights to copy, +REM modify and redistribute granted by the license, users are provided only +REM with a limited warranty and the software's author, the holder of the +REM economic rights, and the successive licensors have only limited +REM liability. +REM +REM The fact that you are presently reading this means that you have had +REM knowledge of the CeCILL-B license and that you accept its terms. +REM ------------------------------------------------------------------------ + +@echo off +echo ---------------------------- +echo --creaMaracasVariables.bat-- +echo ---------------------------- + +echo creatoolsGeneration = %1 +echo creamaracassourcefolder = %2 +echo docgeneration = %3 +echo buildType = %4 + +set binfolder=%1\c_%buildtype%%platforme%\cb\%2Bin +cd %binfolder% + +IF %4==Debug ( + cmake -D WXWIDGETS_USE_DEBUG:BOOL=ON CMakeCache.txt +) + + +::cmake -D CMAKE_CXX_FLAGS:STRING=/openmp +::cmake -D crea_DIR:PATH=%1\creatools_%buildtype%%platforme%\creatools_install\crea CMakeCache.txt +::cmake -D BBTK_DIR:PATH=%1\creatools_%buildtype%%platforme%\creatools_install\bbtk CMakeCache.txt +::cmake -D BUILD_BBTK_PACKAGE_creaMaracasVisu:BOOL=ON -D creaMaracasVisu_DOC:BOOL=%3 CMakeCache.txt +::cmake -D BUILD_BBTK_PACKAGE_creaMaracasVisu_DOXYGEN_DOC:BOOL=%3 CMakeCache.txt +::cmake CMakeCache.txt + + +%cmakeBin% -D CMAKE_CXX_FLAGS:STRING=/openmp +%cmakeBin% -D crea_DIR:PATH=%1\c_%buildtype%%platforme%\ci\crea CMakeCache.txt +%cmakeBin% -D BBTK_DIR:PATH=%1\c_%buildtype%%platforme%\ci\bbtk CMakeCache.txt +%cmakeBin% -D BUILD_BBTK_PACKAGE_creaMaracasVisu:BOOL=ON -D creaMaracasVisu_DOC:BOOL=%3 CMakeCache.txt +%cmakeBin% -D BUILD_BBTK_PACKAGE_creaMaracasVisu_DOXYGEN_DOC:BOOL=%3 CMakeCache.txt +%cmakeBin% CMakeCache.txt + + + +exit /B diff --git a/Install_mingw64/Install_CreaTools/scripts/creaMaracasVisuInstall.bat b/Install_mingw64/Install_CreaTools/scripts/creaMaracasVisuInstall.bat new file mode 100644 index 0000000..f08485a --- /dev/null +++ b/Install_mingw64/Install_CreaTools/scripts/creaMaracasVisuInstall.bat @@ -0,0 +1,36 @@ +REM --------------------------------------------------------------------- +REM +REM Copyright (c) CREATIS (Centre de Recherche en Acquisition et Traitement de l'Image +REM pour la Santé) +REM Authors : Eduardo Davila, Frederic Cervenansky, Claire Mouton +REM +REM This software is governed by the CeCILL-B license under French law and +REM abiding by the rules of distribution of free software. You can use, +REM modify and/ or redistribute the software under the terms of the CeCILL-B +REM license as circulated by CEA, CNRS and INRIA at the following URL +REM http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html +REM or in the file LICENSE.txt. +REM +REM As a counterpart to the access to the source code and rights to copy, +REM modify and redistribute granted by the license, users are provided only +REM with a limited warranty and the software's author, the holder of the +REM economic rights, and the successive licensors have only limited +REM liability. +REM +REM The fact that you are presently reading this means that you have had +REM knowledge of the CeCILL-B license and that you accept its terms. +REM ------------------------------------------------------------------------ + +@echo off + +set currentdir=%~dp0 + +echo compile creaMaracasVisu %buildtype% %platforme% +call %baseFolder%\cleanmod.bat %creamaracassource% %creatoolsGeneration% >> %logFolder%\creaMaracasVisuInstall.log 2>&1 +call %baseFolder%\cmakemod.bat %creamaracassource% %installPrefix% %creatoolsGeneration% >> %logFolder%\creaMaracasVisuInstall.log 2>&1 +call %currentdir%\creaMaracasVariables.bat %creatoolsGeneration% %creamaracassource% %docgeneration% %buildtype% >> %logFolder%\creaMaracasVisuInstall.log 2>&1 +call %baseFolder%\compilemod.bat %buildtype% %creamaracassource% %creatoolsGeneration% >> %logFolder%\creaMaracasVisuInstall.log 2>&1 +call %baseFolder%\ctestmod.bat %creamaracassource% %creatoolsGeneration% >> %logFolder%\creaMaracasVisuInstall.log 2>&1 +echo end of creaMaracasVisu compilation + +exit \ No newline at end of file diff --git a/Install_mingw64/Install_CreaTools/scripts/creaVtkInstall.bat b/Install_mingw64/Install_CreaTools/scripts/creaVtkInstall.bat new file mode 100644 index 0000000..d202666 --- /dev/null +++ b/Install_mingw64/Install_CreaTools/scripts/creaVtkInstall.bat @@ -0,0 +1,36 @@ +REM --------------------------------------------------------------------- +REM +REM Copyright (c) CREATIS (Centre de Recherche en Acquisition et Traitement de l'Image +REM pour la Santé) +REM Authors : Eduardo Davila, Frederic Cervenansky, Claire Mouton +REM +REM This software is governed by the CeCILL-B license under French law and +REM abiding by the rules of distribution of free software. You can use, +REM modify and/ or redistribute the software under the terms of the CeCILL-B +REM license as circulated by CEA, CNRS and INRIA at the following URL +REM http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html +REM or in the file LICENSE.txt. +REM +REM As a counterpart to the access to the source code and rights to copy, +REM modify and redistribute granted by the license, users are provided only +REM with a limited warranty and the software's author, the holder of the +REM economic rights, and the successive licensors have only limited +REM liability. +REM +REM The fact that you are presently reading this means that you have had +REM knowledge of the CeCILL-B license and that you accept its terms. +REM ------------------------------------------------------------------------ + +@echo off + +set currentdir=%~dp0 + +echo compile creaVtk %buildtype% %platforme% +call %baseFolder%\cleanmod.bat %creavtksource% %creatoolsGeneration% >> %logFolder%\creaVtkInstall.log 2>&1 +call %baseFolder%\cmakemod.bat %creavtksource% %installPrefix% %creatoolsGeneration% >> %logFolder%\creaVtkInstall.log 2>&1 +call %currentdir%\creaVtkVariables.bat %creatoolsGeneration% %creavtksource% %docgeneration% %buildtype% >> %logFolder%\creaVtkInstall.log 2>&1 +call %baseFolder%\compilemod.bat %buildtype% %creavtksource% %creatoolsGeneration% >> %logFolder%\creaVtkInstall.log 2>&1 +call %baseFolder%\ctestmod.bat %creavtksource% %creatoolsGeneration% >> %logFolder%\creaVtkInstall.log 2>&1 +echo end of creaVtk compilation + +exit \ No newline at end of file diff --git a/Install_mingw64/Install_CreaTools/scripts/creaVtkVariables.bat b/Install_mingw64/Install_CreaTools/scripts/creaVtkVariables.bat new file mode 100644 index 0000000..3497c69 --- /dev/null +++ b/Install_mingw64/Install_CreaTools/scripts/creaVtkVariables.bat @@ -0,0 +1,51 @@ +REM --------------------------------------------------------------------- +REM +REM Copyright (c) CREATIS (Centre de Recherche en Acquisition et Traitement de l'Image +REM pour la Santé) +REM Authors : Eduardo Davila, Frederic Cervenansky, Claire Mouton +REM +REM This software is governed by the CeCILL-B license under French law and +REM abiding by the rules of distribution of free software. You can use, +REM modify and/ or redistribute the software under the terms of the CeCILL-B +REM license as circulated by CEA, CNRS and INRIA at the following URL +REM http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html +REM or in the file LICENSE.txt. +REM +REM As a counterpart to the access to the source code and rights to copy, +REM modify and redistribute granted by the license, users are provided only +REM with a limited warranty and the software's author, the holder of the +REM economic rights, and the successive licensors have only limited +REM liability. +REM +REM The fact that you are presently reading this means that you have had +REM knowledge of the CeCILL-B license and that you accept its terms. +REM ------------------------------------------------------------------------ + +@echo off +echo ---------------------------- +echo --creaVtkVariables.bat-- +echo ---------------------------- + +echo creatoolsGeneration = %1 +echo creavtksourcefolder = %2 +echo docgeneration = %3 +echo buildType = %4 + +set binfolder=%1\c_%buildtype%%platforme%\cb\%2Bin +cd %binfolder% + + +::cmake -D crea_DIR:PATH=%1\creatools_%buildtype%%platforme%\creatools_install\crea CMakeCache.txt +::cmake -D BBTK_DIR:PATH=%1\creatools_%buildtype%%platforme%\creatools_install\bbtk CMakeCache.txt +::cmake -D BUILD_BBTK_PACKAGE_creaVtk:BOOL=ON -D creaVtk_DOC:BOOL=%3 CMakeCache.txt +::cmake -D BUILD_BBTK_PACKAGE_creaVtk_DOXYGEN_DOC:BOOL=%3 CMakeCache.txt +::cmake CMakeCache.txt + +%cmakeBin% -D crea_DIR:PATH=%1\c_%buildtype%%platforme%\ci\crea CMakeCache.txt +%cmakeBin% -D BBTK_DIR:PATH=%1\c_%buildtype%%platforme%\ci\bbtk CMakeCache.txt +%cmakeBin% -D BUILD_BBTK_PACKAGE_creaVtk:BOOL=ON -D creaVtk_DOC:BOOL=%3 CMakeCache.txt +%cmakeBin% -D BUILD_BBTK_PACKAGE_creaVtk_DOXYGEN_DOC:BOOL=%3 CMakeCache.txt +%cmakeBin% CMakeCache.txt + + +exit /B \ No newline at end of file diff --git a/Install_mingw64/Install_CreaTools/scripts/creaenvironmentVariables.bat b/Install_mingw64/Install_CreaTools/scripts/creaenvironmentVariables.bat new file mode 100644 index 0000000..01468fb --- /dev/null +++ b/Install_mingw64/Install_CreaTools/scripts/creaenvironmentVariables.bat @@ -0,0 +1,44 @@ +REM --------------------------------------------------------------------- +REM +REM Copyright (c) CREATIS (Centre de Recherche en Acquisition et Traitement de l'Image +REM pour la Santé) +REM Authors : Eduardo Davila, Frederic Cervenansky, Claire Mouton +REM +REM This software is governed by the CeCILL-B license under French law and +REM abiding by the rules of distribution of free software. You can use, +REM modify and/ or redistribute the software under the terms of the CeCILL-B +REM license as circulated by CEA, CNRS and INRIA at the following URL +REM http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html +REM or in the file LICENSE.txt. +REM +REM As a counterpart to the access to the source code and rights to copy, +REM modify and redistribute granted by the license, users are provided only +REM with a limited warranty and the software's author, the holder of the +REM economic rights, and the successive licensors have only limited +REM liability. +REM +REM The fact that you are presently reading this means that you have had +REM knowledge of the CeCILL-B license and that you accept its terms. +REM ------------------------------------------------------------------------ + +@echo off +echo ---------------------------- +echo creaenvironmentVariables.bat +echo ---------------------------- + +echo creatoolsGeneration = %1 +echo creamaracassourcefolder = %2 +echo docgeneration = %3 +echo buildType = %4 + +set binfolder=%1\c_%buildtype%%platforme%\cb\%2Bin +cd %binfolder% + +IF %4==Debug ( + cmake -D WXWIDGETS_USE_DEBUG:BOOL=ON CMakeCache.txt +) + +::cmake -D crea_DIR:PATH=%1\creatools_%buildtype%%platforme%\creatools_install\crea CMakeCache.txt +%cmakeBin% -D crea_DIR:PATH=%1\c_%buildtype%%platforme%\ci\crea CMakeCache.txt + +exit /B \ No newline at end of file -- 2.47.1