scriptDir=$PWD
sourcesDir=$generationdir/thirdparty_sources
binDir=$generationdir/thirdparty_bin
+#EED itkfile=InsightToolkit-3.20.0.patchCreatis.tar.gz
if [ ! -e $generationdir ]
then
echo "we download new stuff"
if [ $ITKVersion = ITK3 ]
then
- # deal with ITK3
- if [ $OperatingSystem = "MacOS" ]
- then
- curl -O http://www.creatis.insa-lyon.fr/software/public/creatools/crea_ThirdParty_Libraries/source/InsightToolkit-3.20.0.patchCreatis.tar.gz
- else
- wget http://www.creatis.insa-lyon.fr/software/public/creatools/crea_ThirdParty_Libraries/source/InsightToolkit-3.20.0.patchCreatis.tar.gz
- fi
- tar -xzvf InsightToolkit-3.20.0.tar.gz
+ # deal with ITK3
+ #EED itkfile=InsightToolkit-3.20.0.patchCreatis.tar.gz
+ #EED libname=InsightToolkit-3.20.0
+ itkfile=InsightToolkit-3.20.1.tar.gz
+ libname=InsightToolkit-3.20.1
else
- # deal with ITK4
- if [ $OperatingSystem = "MacOS" ]
+ # deal with ITK4
+ itkfile=ITK4.0.tgz
+ libname=ITK
+ fi
+
+ if [ $OperatingSystem = "MacOS" ]
then
- curl -O http://www.creatis.insa-lyon.fr/software/public/creatools/crea_ThirdParty_Libraries/source/ITK4.0.tgz
- else
- wget http://www.creatis.insa-lyon.fr/software/public/creatools/crea_ThirdParty_Libraries/source/ITK4.0.tgz
- fi
- tar -xzvf ITK4.0.tgz
+ curl -O http://www.creatis.insa-lyon.fr/software/public/creatools/crea_ThirdParty_Libraries/source/$itkfile
+ else
+ wget http://www.creatis.insa-lyon.fr/software/public/creatools/crea_ThirdParty_Libraries/source/$itkfile
fi
+ tar -xzvf $itkfile
+
#fi # JPR ------------1
-if [ $buildType = "Debug" ]
-then
- debug="ON"
-else
- debug="OFF"
-fi
+#if [ $buildType = "Debug" ]
+#then
+# debug="ON"
+#else
+# debug="OFF"
+#fi
# the following stupid test is used at debug time; Please don't remove!
#if [ true = false ]
if [ true = true ]
then
- if [ $ITKVersion = ITK3 ]
- then
- libname=InsightToolkit-3.20.0
- else
- libname=ITK
- fi
dirInstall=$binDir/$libname-Bin
export ITK_DIR=$installPrefixThird/lib/InsightToolkit/