1.1)
echo "========================== 1.1 "
- source scripts/Check-if-root.sh
- bash scripts/ThirdParty-install-VTK.sh
+ source scripts/Check-if-root.sh
+ read a
+ bash scripts/ThirdParty-install-VTK.sh
+ read a
bash scripts/ThirdParty-install-Finalize.sh
read a
;;
tar -xvf InsightToolkit-3.20.0.tar.gz
else
wget http://www.creatis.insa-lyon.fr/software/public/creatools/crea_ThirdParty_Libraries/source/InsightToolkit-3.20.0.tar.gz
+ tar -xzvf InsightToolkit-3.20.0.tar.gz
fi
if [ $buildType = "Debug" ]
#!/bin/bash
+
+echo "in ThirdParty-onstall-VTK.sh, source " $PWD/scripts/CreaTools-configure.sh
if [ ! -f $PWD/scripts/CreaTools-configure.sh ]
then
echo
exit 0
fi
+source $PWD/scripts/CreaTools-configure.sh
scriptDir=$PWD
sourcesDir=$generationdir/thirdparty_sources
rm -rf $binDir/VTK*
cd $sourcesDir
-
+
+ echo "we download new stuff"
if [ $OperatingSystem = "MacOS" ]
then
curl -O http://www.creatis.insa-lyon.fr/software/public/creatools/crea_ThirdParty_Libraries/source/VTK-5.6.1.patchCreatis.tar.gz
tar -xvf VTK-5.6.1.patchCreatis.tar.gz
else
wget http://www.creatis.insa-lyon.fr/software/public/creatools/crea_ThirdParty_Libraries/source/VTK-5.6.1.patchCreatis.tar.gz
+ tar -xzvf VTK-5.6.1.patchCreatis.tar.gz
fi
if [ $buildType = "Debug" ]
if [ $OperatingSystem = "MacOS" ]
then
- curl http://www.creatis.insa-lyon.fr/software/public/creatools/crea_ThirdParty_Libraries/source/gdcm_05_Mai_2011.tar.gz
+ curl http://www.creatis.insa-lyon.fr/software/public/creatools/crea_ThirdParty_Libraries/source/gdcm_05_Mai_2011.tar.gz
+ tar -xvf gdcm_05_Mai_2011.tar.gz
else
- wget http://www.creatis.insa-lyon.fr/software/public/creatools/crea_ThirdParty_Libraries/source/gdcm_05_Mai_2011.tar.gz
- fi
-
+ wget http://www.creatis.insa-lyon.fr/software/public/creatools/crea_ThirdParty_Libraries/source/gdcm_05_Mai_2011.tar.gz
tar -xvzf gdcm_05_Mai_2011.tar.gz
+ fi
fi