# mv $libidosource-ESRF $libidosource
cd $generationdir/creatools_source/$creasource
- git checkout vtk8itk4wx3-mingw64
+ git checkout vtk8itk5wx3-mingw64
cd $generationdir/creatools_source/$bbtksource
- git checkout vtk8itk4wx3-mingw64
+ git checkout vtk8itk5wx3-mingw64
cd $generationdir/creatools_source/$creavtksource
- git checkout vtk8itk4wx3-mingw64
+ git checkout vtk8itk5wx3-mingw64
cd $generationdir/creatools_source/$creamaracassource
- git checkout vtk8itk4wx3-mingw64
+ git checkout vtk8itk5wx3-mingw64
cd $generationdir/creatools_source/$creaimagesource
- git checkout vtk8itk4wx3-mingw64
+ git checkout vtk8itk5wx3-mingw64
cd $generationdir/creatools_source/$creacontourssource
- git checkout vtk8itk4wx3-mingw64
+ git checkout vtk8itk5wx3-mingw64
cd $generationdir/creatools_source/$crearigidregistrationssource
- git checkout vtk8itk4wx3-mingw64
+ git checkout vtk8itk5wx3-mingw64
cd $generationdir/creatools_source/$bbtkgeditorsource
- git checkout vtk8itk4wx3-mingw64
+ git checkout vtk8itk5wx3-mingw64
cd $generationdir/creatools_source/$creatoolssource
- git checkout vtk8itk4wx3-mingw64
- cd $generationdir/creatools_source/$creabrukersource
- git checkout vtk8itk4wx3-mingw64
- cd $generationdir/creatools_source/$creaminitoolssource
- git checkout vtk8itk4wx3-mingw64
+ git checkout vtk8itk5wx3-mingw64
+ cd $generationdir/creatools_source/$creabrukersource
+ git checkout vtk8itk5wx3-mingw64
+ cd $generationdir/creatools_source/$creaminitoolssource
+ git checkout vtk8itk5wx3-mingw64
fi
if [ $sourcesFrom = HTML ]
fi
cd $sourcesDir
- echo "we download new stuff"
- if [ $ITKVersion = ITK3 ]
- then
- # deal with ITK3
- #EED itkfile=InsightToolkit-3.20.0.patchCreatis.tar.gz
- #EED libname=InsightToolkit-3.20.0
-
- #EED itkfile=InsightToolkit-3.20.1.tar.gz
- #EED libname=InsightToolkit-3.20.1
+## if [ $ITKVersion = ITK3 ]
+## then
+## # deal with ITK3
+## #EED itkfile=InsightToolkit-3.20.0.patchCreatis.tar.gz
+## #EED libname=InsightToolkit-3.20.0
+##
+## #EED itkfile=InsightToolkit-3.20.1.tar.gz
+## #EED libname=InsightToolkit-3.20.1
+##
+## itkfile=InsightToolkit-3.20.1-patchCreatis.tgz
+## libname=InsightToolkit-3.20.1-patchCreatis
+##
+## else
+## # deal with ITK4
+## itkfile=InsightToolkit-4.13.1.zip
+## libname=InsightToolkit-4.13.1
+## fi
- itkfile=InsightToolkit-3.20.1-patchCreatis.tgz
- libname=InsightToolkit-3.20.1-patchCreatis
+ itkfile=InsightToolkit-5.0.1.zip
+ libname=InsightToolkit-5.0.1
- else
- # deal with ITK4
- itkfile=InsightToolkit-4.13.1.zip
- libname=InsightToolkit-4.13.1
- fi
## if [ $OperatingSystem = "MacOS" ]
## then
cmake -D CMAKE_BUILD_TYPE:STRING=$buildType -D CMAKE_INSTALL_PREFIX:PATH=$installPrefixThird CMakeCache.txt
cmake -D BUILD_SHARED_LIBS:BOOL=ON -D BUILD_EXAMPLES:BOOL=OFF -D BUILD_TESTING:BOOL=OFF CMakeCache.txt
- if [ $ITKVersion = ITK3 ]
- then
- cmake -D ITK_USE_REVIEW:BOOL=ON CMakeCache.txt
- fi
-
- if [ $ITKVersion = ITK4 ]
- then
+## if [ $ITKVersion = ITK3 ]
+## then
+## cmake -D ITK_USE_REVIEW:BOOL=ON CMakeCache.txt
+## fi
-##EED ITK4.0
-# cmake -D ITKV3_COMPATIBILITY:BOOL=ON -D ITKGroup_Nonunit:BOOL=ON -D ITKGroup_IO:BOOL=ON -D Module_ITK-Deprecated:BOOL=ON -D Module_ITK-Review:BOOL=ON CMakeCache.txt
+## if [ $ITKVersion = ITK4 ]
+## then
-##EED ITK4.12
-# -D ITK_USE_SYSTEM_GDCM=ON
- cmake -D ITKV3_COMPATIBILITY:BOOL=ON -D Module_ITKReview:BOOL=ON CMakeCache.txt
+## ##EED ITK4.0
+## # cmake -D ITKV3_COMPATIBILITY:BOOL=ON -D ITKGroup_Nonunit:BOOL=ON -D ITKGroup_IO:BOOL=ON -D Module_ITK-Deprecated:BOOL=ON -D Module_ITK-Review:BOOL=ON CMakeCache.txt
+##
+## ##EED ITK4.12
+## # -D ITK_USE_SYSTEM_GDCM=ON
+## cmake -D ITKV3_COMPATIBILITY:BOOL=ON -D Module_ITKReview:BOOL=ON CMakeCache.txt
+##
+## fi
- fi
+ cmake -D Module_ITKReview:BOOL=ON CMakeCache.txt
cmake -D CMAKE_CXX_FLAGS:STRING=-std=${stdCompiler} CMakeCache.txt
#uncomment following line if you want to use the bleeding edge of GDCM2!