set docGeneration=%2
set scriptsFolder=%cd%
-
-
rmdir %logFolder% /s /q
mkdir %logFolder%
mkdir %creatoolsGeneration%
-
echo call configure variables
call %scriptsFolder%\base\configureVariables.bat
-
echo call Clean and Download-Sources
-start /B /wait %scriptsFolder%\base\downloadSources.bat
-
-
+ start /B /wait %scriptsFolder%\base\downloadSources.bat
echo %cd%
-
cd %scriptsFolder%
call All2.bat %creatoolsGeneration% %docGeneration% Release Win64
echo call compile creaMinitools
start /B /wait %scriptsFolder%\creaMinitoolsInstall.bat
+
echo THIS HAS TO BE THE LAST STEP...
echo call compile creaTools
start /B /wait %scriptsFolder%\creaToolsInstall.bat
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_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
SET(CPACK_NSIS_URL_INFO_ABOUT "http://www.creatis.insa-lyon.fr/creatools/${PROJECT_NAME}")
SET(CPACK_NSIS_CONTACT "info-dev@creatis.insa-lyon.fr")
SET(CPACK_NSIS_MODIFY_PATH OFF)
+
+# EED 2024-01-18
+# SET(CPACK_SYSTEM_NAME ${CREATOOLS_PLATFORM})
+SET(CPACK_NSIS_INSTALL_ROOT $ENV{ProgramFiles})
set (CREA_BOOST_LYBRARY boost)
set (CREA_GDCM_LYBRARY gdcm13 )
::--------- Cumputer 3 : Tour Cratools 2 -------------------------
set baseProject=C:\Users\davila\Creatis\C22
set cmakeBin=C:\Users\davila\Creatis\crea_Developper_Tools\cmake-3.17.1-win64-x64\bin\cmake.exe
-set ProgramFiles=C:\Program Files (x86)
+set ProgramFiles=C:\Program Files
set wgetPath="C:\Users\davila\Creatis\crea_Developper_Tools\wget\wget.exe"
set zipPath="C:\Program Files\7-Zip\7z.exe"
::set zipPath="peazip -ext2here "
::set DirMingwDlls=C:\Users\davila\Creatis\crea_Developper_Tools\mingw-w64\x86_64-7.3.0-posix-seh-rt_v5-rev0\mingw64\bin
-::--------- Cumputer 1 : Tour Cratools -------------------------
+::--------- Cumputer 1 : Tour Creatools -------------------------
::set baseProject=E:\Creatis\C11
::set cmakeBin=E:\creatis\crea_Developer_Tools\v4\cmake-3.17.1-win64-x64\bin\cmake.exe
::set ProgramFiles=C:\Program Files (x86)