]> Creatis software - creaToolsTools.git/commitdiff
#3118 creaToolsTools Feature New Normal - branch changestoITK3and4
authorEduardo DAVILA <davila@localhost.localdomain>
Tue, 29 Aug 2017 20:09:35 +0000 (22:09 +0200)
committerEduardo DAVILA <davila@localhost.localdomain>
Tue, 29 Aug 2017 20:09:35 +0000 (22:09 +0200)
Linux/scripts/ThirdParty-install-ITK.sh

index 91e06a75958320ed91ead68b4dd6a283bac59dda..d3ad3f55ee77599cf2a9f64dfb95d7d297ec1800 100644 (file)
@@ -134,8 +134,8 @@ fi
 
   else
     # deal with ITK4
-    itkfile=ITK4.0.tgz
-    libname=ITK
+    itkfile=InsightToolkit-4.12.1.tar.gz
+    libname=InsightToolkit-4.12.1
   fi
 
   if [ $OperatingSystem = "MacOS" ]
@@ -145,6 +145,7 @@ fi
 ##EED19mai2015      wget http://www.creatis.insa-lyon.fr/software/public/creatools/crea_ThirdParty_Libraries/source/$itkfile
       wget http://www.creatis.insa-lyon.fr/~davila/creatools_back_site/crea_ThirdParty_Libraries/source/$itkfile
   fi
+
   tar -xzvf $itkfile
 
 
@@ -173,7 +174,13 @@ then
   cmake -D BUILD_EXAMPLES:BOOL=OFF -D BUILD_TESTING:BOOL=OFF -D BUILD_SHARED_LIBS:BOOL=ON -D ITK_USE_REVIEW:BOOL=ON CMakeCache.txt
   if [ $ITKVersion = ITK4 ]
   then
-     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.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
+     cmake -D ITKV3_COMPATIBILITY:BOOL=ON -D Module_ITKReview:BOOL=ON -D ITK_USE_SYSTEM_GDCM=ON CMakeCache.txt        
+
   fi
   cmake -D CMAKE_CXX_FLAGS:STRING=-std=${stdCompiler} CMakeCache.txt