]> Creatis software - creaToolsTools.git/blobdiff - Linux/scripts/ThirdParty-install-ITK.sh
Updated the Linux installation README.txt.
[creaToolsTools.git] / Linux / scripts / ThirdParty-install-ITK.sh
index b8a79b79d10b203206d1fa6f9561a455d0c35b0e..2d5a71a665ffc87347eb77d85efa67bc985e85b3 100644 (file)
@@ -1,3 +1,27 @@
+# ---------------------------------------------------------------------
+#
+# Copyright (c) CREATIS (Centre de Recherche en Acquisition et Traitement de l'Image 
+#                        pour la Santé)
+# Authors : Eduardo Davila, Frederic Cervenansky, Claire Mouton
+#
+#  This software is governed by the CeCILL-B license under French law and 
+#  abiding by the rules of distribution of free software. You can  use, 
+#  modify and/ or redistribute the software under the terms of the CeCILL-B 
+#  license as circulated by CEA, CNRS and INRIA at the following URL 
+#  http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html 
+#  or in the file LICENSE.txt.
+#
+#  As a counterpart to the access to the source code and  rights to copy,
+#  modify and redistribute granted by the license, users are provided only
+#  with a limited warranty  and the software's author,  the holder of the
+#  economic rights,  and the successive licensors  have only  limited
+#  liability. 
+#
+#  The fact that you are presently reading this means that you have had
+#  knowledge of the CeCILL-B license and that you accept its terms.
+# ------------------------------------------------------------------------  
+
+
 #!/bin/bash
 
  echo  "in ThirdParty-install-ITK.sh, source " $PWD/scripts/CreaTools-configure.sh
@@ -48,7 +72,7 @@ source $PWD/scripts/CreaTools-configure.sh
 scriptDir=$PWD
 sourcesDir=$generationdir/thirdparty_sources
 binDir=$generationdir/thirdparty_bin
-itkfile=InsightToolkit-3.20.0.patchCreatis.tar.gz
+#EED itkfile=InsightToolkit-3.20.0.patchCreatis.tar.gz
 
 if [ ! -e $generationdir ]
 then
@@ -88,8 +112,10 @@ fi
   if [ $ITKVersion = ITK3 ]
   then
      # deal with ITK3
-     itkfile=InsightToolkit-3.20.0.patchCreatis.tar.gz
-     libname=InsightToolkit-3.20.0
+     #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
     itkfile=ITK4.0.tgz
@@ -107,12 +133,12 @@ fi
 
 #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 ]