@echo off
- call config.bat
-
+ set baseProject=C:\Eduardo\Creatis
+ set ProgramFiles=C:\Program Files (x86)
+
+ ;::set baseProject=C:\Users\davila\Creatools
+ ::set ProgramFiles=C:\Program Files
+
+ ::set baseProject=E:\creatis\c_mingw
+ ::set ProgramFiles=C:\Program Files (x86)
-
-
-
set docGeneration=OFF
- set cmakeBin=%baseProject%\For_mingw64\DeveloperTools\cmake-3.11.2-win64-x64\bin\cmake.exe
- set creatoolsGeneration=%baseProject%\C5\ct
+ set cmakeBin=%baseProject%\DevelopperTools\cmake-3.11.2-win64-x64\bin\cmake.exe
+ set creatoolsGeneration=%baseProject%\C10\ct
set bash=%ProgramFiles%\Git\bin\bash.exe
+ :: Some times you have to put this is comments
+ :: If not in comments you need to activate de ppk key with the putty-agent
+ :: set GIT_SSH=%ProgramFiles%\PuTTY\plink.exe
cd scripts
call All.bat %creatoolsGeneration% %docGeneration%
- cd ..
+ cd ..
pause
exit
echo tmp.sh
- mkdir E:/creatis/c_mingw/C5/ct
- mkdir E:/creatis/c_mingw/C5/ct/cs
- cd E:/creatis/c_mingw/C5/ct/cs
+ mkdir C:/Eduardo/Creatis/C10/ct
+ mkdir C:/Eduardo/Creatis/C10/ct/cs
+ cd C:/Eduardo/Creatis/C10/ct/cs
git clone ssh://gitolite@git.creatis.insa-lyon.fr/crea
cd crea
-git checkout vtk7itk4wx3-mingw64
+git checkout vtk8itk4wx3-mingw64
cd ..
git clone ssh://gitolite@git.creatis.insa-lyon.fr/bbtk
cd bbtk
-git checkout vtk7itk4wx3-mingw64
+git checkout vtk8itk4wx3-mingw64
cd ..
git clone ssh://gitolite@git.creatis.insa-lyon.fr/creaMaracasVisu
cd creaMaracasVisu
-git checkout vtk7itk4wx3-mingw64
+git checkout vtk8itk4wx3-mingw64
cd ..
git clone ssh://gitolite@git.creatis.insa-lyon.fr/creaVtk
cd creaVtk
-git checkout vtk7itk4wx3-mingw64
+git checkout vtk8itk4wx3-mingw64
cd ..
git clone ssh://gitolite@git.creatis.insa-lyon.fr/creaEnvironment
cd creaEnvironment
-git checkout vtk7itk4wx3-mingw64
+git checkout vtk8itk4wx3-mingw64
cd ..
git clone ssh://gitolite@git.creatis.insa-lyon.fr/creaBruker
cd creaBruker
-git checkout vtk7itk4wx3-mingw64
+git checkout vtk8itk4wx3-mingw64
cd ..
git clone ssh://gitolite@git.creatis.insa-lyon.fr/creaImageIO
cd creaImageIO
-git checkout vtk7itk4wx3-mingw64
+git checkout vtk8itk4wx3-mingw64
cd ..
git clone ssh://gitolite@git.creatis.insa-lyon.fr/creaContours
cd creaContours
-git checkout vtk7itk4wx3-mingw64
+git checkout vtk8itk4wx3-mingw64
cd ..
git clone ssh://gitolite@git.creatis.insa-lyon.fr/creaRigidRegistration
cd creaRigidRegistration
-git checkout vtk7itk4wx3-mingw64
+git checkout vtk8itk4wx3-mingw64
cd ..
git clone ssh://gitolite@git.creatis.insa-lyon.fr/bbtkGEditor
cd bbtkGEditor
-git checkout vtk7itk4wx3-mingw64
+git checkout vtk8itk4wx3-mingw64
cd ..
git clone ssh://gitolite@git.creatis.insa-lyon.fr/creaMiniTools
cd creaMiniTools
-git checkout vtk7itk4wx3-mingw64
+git checkout vtk8itk4wx3-mingw64
cd ..
git clone ssh://gitolite@git.creatis.insa-lyon.fr/creaTools
cd creaTools
-git checkout vtk7itk4wx3-mingw64
+git checkout vtk8itk4wx3-mingw64
cd ..
- set thirdpartyGenerationBase=E:\creatis\c_mingw\C5\tpl\
- set cmakeBin=E:\creatis\c_mingw\For_mingw64\DeveloperTools\cmake-3.11.2-win64-x64\bin\cmake.exe
- set wgetPath="E:\creatis\c_mingw\For_mingw64\DeveloperTools\wget-1.19.4-win32\wget.exe"
- set DirMingwDlls=E:\creatis\c_mingw\For_mingw64\DeveloperTools\mingw-w64\x86_64-7.3.0-posix-seh-rt_v5-rev0\mingw64\bin
+ set thirdpartyGenerationBase=C:\Eduardo\Creatis\C10\tpl\
-
+ set cmakeBin=C:\Eduardo\Creatis\DevelopperTools\cmake-3.11.2-win64-x64\bin\cmake.exe
-
+ set wgetPath="C:\Eduardo\Creatis\DevelopperTools\wget-1.19.4-win32\wget.exe"
-
set zipPath="C:\Program Files\7-Zip\7z.exe"
::set zipPath="peazip -ext2here "
-
+ set DirMingwDlls=C:\Eduardo\Creatis\DevelopperTools\mingw-w64\x86_64-7.3.0-posix-seh-rt_v5-rev0\mingw64\bin
-
+ set PATH=C:\Windows\system32;C:\Eduardo\Creatis\DevelopperTools\mingw-w64\x86_64-7.3.0-posix-seh-rt_v5-rev0\mingw64\bin;
-
start /wait install_generate_thirdparty-x64Release.bat
- REM start /wait install_generate_thirdparty-x64Debug.bat
- REM start /wait install_generate_thirdparty-x86Release.bat
- REM start /wait install_generate_thirdparty-x86Debug.bat
- pause
+ ::REM start /wait install_generate_thirdparty-x64Debug.bat
+ ::REM start /wait install_generate_thirdparty-x86Release.bat
+ :: REM start /wait install_generate_thirdparty-x86Debug.bat
+
-::pause
++::pause
if not exist %wgetPath% (
echo ERROR!!! wget has not been found in the system
- pause
exit
)
set BOOSTFNAME=boost_1_64_0.7z
::set XERCESFNAME=xerces-c-3.1.1.zip
::set XERCESFNAME=xerces-c-3.1.4.zip
- set XERCESFNAME=xerces-c-3.2.1.zip
+ set XERCESFNAME=xerces-c-3.2.3.zip
::set VTKFNAME=vtk-5.10.0.zip
:: set VTKFNAME=VTK-8.1.1-patch_mingw64.7z
set VTKFNAME=VTK-8.1.1-Patch.7z
::set GDCMFNAME=gdcm_05_Mai_2011.tar
::set GDCMFNAME=gdcm_11_Oct_2011.tar
::set GDCMFNAME=gdcm_10_Mars_2017-vtk7.tar
-set GDCMFNAME=gdcm13_2018_05_28_vtk8.zip
+set GDCMFNAME=gdcm13_2019_06_17_vtk8.zip
set TTHFNAME=tth_exe.zip
set SQLITEFNAME=sqlite_v3.6.23.1.zip
set JOMFNAME=jom.zip
:SKIPDOWNLOADBOOST
if %EEDdownloadXERCES%==FALSE GOTO SKIPDOWNLOADXERCES
- %wgetPath% "http://mirror.ibcp.fr/pub/apache//xerces/c/3/sources/%XERCESFNAME%"
+ :: %wgetPath% "http://mirror.ibcp.fr/pub/apache//xerces/c/3/sources/%XERCESFNAME%"
+ %wgetPath% --no-check-certificate "%urlCreatisSource%/%XERCESFNAME%"
+ echo %wgetPath% "http://mirror.ibcp.fr/pub/apache//xerces/c/3/sources/%XERCESFNAME%"
+
:: %wgetPath% --no-check-certificate "https://archive.apache.org/dist/xerces/c/3/sources/%XERCESFNAME%"
echo -----------------------------------
echo -------------XERCES----------------
%zipPath% x %DLFCNFNAME%
:: del %DLFCNFNAME%
:SKIPDOWNLOADDLFCN
- pause
if %EEDdownloadOPENGLMESA%==FALSE GOTO SKIPDOWNLOADOPENGLMESA
%wgetPath% --no-check-certificate "%urlCreatisSource%/../../../crea_Developer_Tools/v4/%OPENGLMESANAME%"
echo ------------------------------------------------
echo ------------------------------------------------
cd %sourcepath%
%zipPath% x %OPENGLMESANAME%
- pause
:: del %OPENGLMESANAME%
:SKIPDOWNLOADOPENGLMESA
rename VTK-8.1.1 vtk
rename gdcm13_2018_05_28_vtk8 gdcm13
rename tth_exe tth
- rename xerces-c-3.2.1 xerces
+ rename xerces-c-3.2.3 xerces
rename sqlite_v3.6.23.1 sqlite
echo -----End of Download Libraries-----