From: Eduardo DAVILA Date: Fri, 27 Jul 2018 15:23:17 +0000 (+0200) Subject: #3200 creaToolsTools Feature New Normal branch mingw64 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=27bfa25cbf0e36878e0159c9134d8ff397957797;p=creaToolsTools.git #3200 creaToolsTools Feature New Normal branch mingw64 --- diff --git a/Install_mingw64/Install_CreaTools/scripts/All2.bat b/Install_mingw64/Install_CreaTools/scripts/All2.bat index 7dbafb4..a8ab429 100644 --- a/Install_mingw64/Install_CreaTools/scripts/All2.bat +++ b/Install_mingw64/Install_CreaTools/scripts/All2.bat @@ -63,14 +63,14 @@ REM :skypToEED ::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 ::start /B /wait %scriptsFolder%\bbtkGEditorInstall.bat -::echo call compile creaMinitools -::start /B /wait %scriptsFolder%\creaMinitoolsInstall.bat +echo call compile creaMinitools +start /B /wait %scriptsFolder%\creaMinitoolsInstall.bat diff --git a/Install_mingw64/Install_CreaTools/scripts/bbtkGEditorInstall.bat b/Install_mingw64/Install_CreaTools/scripts/bbtkGEditorInstall.bat new file mode 100644 index 0000000..78d7e18 --- /dev/null +++ b/Install_mingw64/Install_CreaTools/scripts/bbtkGEditorInstall.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 bbtkGEditor %buildType% %platforme% +call %baseFolder%\cleanmod.bat %bbtkgeditorsource% %creatoolsGeneration% >> %logFolder%\bbtkGEditorInstall.log 2>&1 +call %baseFolder%\cmakemod.bat %bbtkgeditorsource% %installPrefix% %creatoolsGeneration% >> %logFolder%\bbtkGEditorInstall.log 2>&1 +call %currentdir%\bbtkGEditorVariables.bat %creatoolsGeneration% %bbtkgeditorsource% %docgeneration% %buildtype% >> %logFolder%\bbtkGEditorInstall.log 2>&1 +call %baseFolder%\compilemod.bat %buildtype% %bbtkgeditorsource% %creatoolsGeneration% >> %logFolder%\bbtkGEditorInstall.log 2>&1 +call %baseFolder%\ctestmod.bat %bbtkgeditorsource% %creatoolsGeneration% >> %logFolder%\bbtkGEditorInstall.log 2>&1 +echo end of bbtkGEditor compilation + +exit \ No newline at end of file diff --git a/Install_mingw64/Install_CreaTools/scripts/bbtkGEditorVariables.bat b/Install_mingw64/Install_CreaTools/scripts/bbtkGEditorVariables.bat new file mode 100644 index 0000000..4aa28c9 --- /dev/null +++ b/Install_mingw64/Install_CreaTools/scripts/bbtkGEditorVariables.bat @@ -0,0 +1,53 @@ +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 --bbtkGEditorVariables.bat-- +echo ---------------------------- + +echo creatoolsGeneration = %1 +echo bbtkgeditorsource = %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 +::cmake -D BBTK_DIR:PATH=%1\creatools_%buildtype%%platforme%\creatools_install\bbtk CMakeCache.txt +::cmake -D creaMaracasVisu_DIR:PATH=%1\creatools_%buildtype%%platforme%\creatools_install\creaMaracasVisu CMakeCache.txt +::cmake -D BUILD_bbtkGEditor_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 creaMaracasVisu_DIR:PATH=%1\c_%buildtype%%platforme%\ci\creaMaracasVisu CMakeCache.txt +%cmakeBin% -D BUILD_bbtkGEditor_DOC:BOOL=%3 CMakeCache.txt +%cmakeBin% CMakeCache.txt + +exit /B \ No newline at end of file diff --git a/Install_mingw64/Install_CreaTools/scripts/creaMiniToolsVariables.bat b/Install_mingw64/Install_CreaTools/scripts/creaMiniToolsVariables.bat new file mode 100644 index 0000000..d81a2dd --- /dev/null +++ b/Install_mingw64/Install_CreaTools/scripts/creaMiniToolsVariables.bat @@ -0,0 +1,62 @@ +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 -creaMiniToolsVariables.bat- +echo ---------------------------- + +echo creatoolsGeneration = %1 +echo creaminitoolssource = %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 +::cmake -D BBTK_DIR:PATH=%1\creatools_%buildtype%%platforme%\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 -D BUILD_BBTK_PACKAGE_creaMiniTools_BBS_APP:BOOL=ON CMakeCache.txt +::cmake -D BUILD_BBTK_PACKAGE_creaMiniToolsBase_BBS_APP:BOOL=ON 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_creaMiniTools:BOOL=ON -D creaMiniTools_DOC:BOOL=%3 CMakeCache.txt +%cmakeBin% -D BUILD_BBTK_PACKAGE_creaMiniTools_DOXYGEN_DOC:BOOL=%3 CMakeCache.txt +%cmakeBin% -D BUILD_BBTK_PACKAGE_creaMiniToolsBase:BOOL=ON -D creaMiniToolsBase_DOC:BOOL=%3 CMakeCache.txt +%cmakeBin% -D BUILD_BBTK_PACKAGE_creaMiniToolsBase_DOXYGEN_DOC:BOOL=%3 CMakeCache.txt +::%cmakeBin% -D BUILD_BBTK_PACKAGE_creaMiniTools_BBS_APP:BOOL=ON CMakeCache.txt +%cmakeBin% -D BUILD_BBTK_PACKAGE_creaMiniToolsBase_BBS_APP:BOOL=ON CMakeCache.txt +%cmakeBin% CMakeCache.txt + + diff --git a/Install_mingw64/Install_CreaTools/scripts/creaMinitoolsInstall.bat b/Install_mingw64/Install_CreaTools/scripts/creaMinitoolsInstall.bat new file mode 100644 index 0000000..62986da --- /dev/null +++ b/Install_mingw64/Install_CreaTools/scripts/creaMinitoolsInstall.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 creaMiniTools %buildtype% %platforme% +call %baseFolder%\cleanmod.bat %creaminitoolssource% %creatoolsGeneration% >> %logFolder%\creaMinitoolsInstall.log 2>&1 +call %baseFolder%\cmakemod.bat %creaminitoolssource% %installPrefix% %creatoolsGeneration% >> %logFolder%\creaMinitoolsInstall.log 2>&1 +call %currentdir%\creaMiniToolsVariables.bat %creatoolsGeneration% %creaminitoolssource% %docgeneration% %buildtype% >> %logFolder%\creaMinitoolsInstall.log 2>&1 +call %baseFolder%\compilemod.bat %buildtype% %creaminitoolssource% %creatoolsGeneration% >> %logFolder%\creaMinitoolsInstall.log 2>&1 +::call %baseFolder%\ctestmod.bat %creaminitoolssource% %creatoolsGeneration% >> %logFolder%\creaMinitoolsInstall.log 2>&1 +echo end of creaMiniTools compilation + +exit \ No newline at end of file diff --git a/Install_mingw64/Install_CreaTools/scripts/creaRigidRInstall.bat b/Install_mingw64/Install_CreaTools/scripts/creaRigidRInstall.bat new file mode 100644 index 0000000..3a901b9 --- /dev/null +++ b/Install_mingw64/Install_CreaTools/scripts/creaRigidRInstall.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 creaRigidRegistration %buildtype% %platforme% +call %baseFolder%\cleanmod.bat %crearigidregistrationssource% %creatoolsGeneration% >> %logFolder%\creaRigidRInstall.log 2>&1 +call %baseFolder%\cmakemod.bat %crearigidregistrationssource% %installPrefix% %creatoolsGeneration% >> %logFolder%\creaRigidRInstall.log 2>&1 +call %currentdir%\creaRigidRegistrationVariables.bat %creatoolsGeneration% %crearigidregistrationssource% %docgeneration% %buildtype% >> %logFolder%\creaRigidRInstall.log 2>&1 +call %baseFolder%\compilemod.bat %buildtype% %crearigidregistrationssource% %creatoolsGeneration% >> %logFolder%\creaRigidRInstall.log 2>&1 +call %baseFolder%\ctestmod.bat %crearigidregistrationssource% %creatoolsGeneration% >> %logFolder%\creaRigidRInstall.log 2>&1 +echo end of creaRigidRegistration compilation + +exit \ No newline at end of file diff --git a/Install_mingw64/Install_CreaTools/scripts/creaRigidRegistrationVariables.bat b/Install_mingw64/Install_CreaTools/scripts/creaRigidRegistrationVariables.bat new file mode 100644 index 0000000..cf721c0 --- /dev/null +++ b/Install_mingw64/Install_CreaTools/scripts/creaRigidRegistrationVariables.bat @@ -0,0 +1,56 @@ +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 creaRigidRegistrationVariables.bat +echo ---------------------------- + +echo creatoolsGeneration = %1 +echo crearigidregistrationssource = %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 +::cmake -D BBTK_DIR:PATH=%1\creatools_%buildtype%%platforme%\creatools_install\bbtk CMakeCache.txt +::cmake -D BUILD_BBTK_PACKAGE_PackRecalage:BOOL=ON 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 + +%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_PackRecalage:BOOL=ON CMakeCache.txt +%cmakeBin% -D BUILD_creaRigidRegistration_DOC:BOOL=%3 -D BUILD_BBTK_PACKAGE_PackRecalage_DOXYGEN_DOC:BOOL=%3 CMakeCache.txt +%cmakeBin% CMakeCache.txt +%cmakeBin% CMakeCache.txt + + +exit /B \ No newline at end of file