]> Creatis software - creaToolsTools.git/commitdiff
build itk against installed gdcm!
authorjean-pierre roux <jean-pierre.roux@creatis.insa-lyon.fr>
Fri, 1 Apr 2011 09:54:31 +0000 (09:54 +0000)
committerjean-pierre roux <jean-pierre.roux@creatis.insa-lyon.fr>
Fri, 1 Apr 2011 09:54:31 +0000 (09:54 +0000)
Linux/menu.sh
Linux/scripts/CreaTools-install.sh
Linux/scripts/ThirdParty-install.sh

index 2a40e0647c56106c9d2ee2b1e5d23e38b862451b..fba2b716483def2a04f6f55dac24636e889669df 100644 (file)
@@ -18,7 +18,16 @@ do
    echo " Choose what you want to do :"
    echo  
    echo " Configure :........................0"
-   echo " Install Third Party Libraries :....1 (as root)"
+
+   if [ $expanded = "YES" ]
+   then 
+      echo " Get and Compile  gdcm :..    ......1.1" 
+      echo " Get and Compile  itk :..    .......1.2"   
+      echo " Get and Compile  vtk :..    .......1.3"          
+   else
+      echo " Install Third Party Libraries :....1 (as root)"   
+   fi
+     
    if [ $expanded = "YES" ]
    then
    echo " Get the 'CreaTools' source files :.2.1 (CVS : as user!)" 
@@ -350,6 +359,25 @@ do
      read a
      kill $PPID    
   ;;
+  
+  1.1)
+     echo "========================== 1.1 "
+     source scripts/Check-if-root.sh
+     bash scripts/ThirdParty-install-gdcm.sh
+  ;;
+  
+  1.2)
+     echo "========================== 1.2 "
+     echo "sorry, not yet available"
+     read a
+  ;;
+  
+  1.3)
+     echo "========================== 1.3 "
+     echo "sorry, not yet available"
+     read a
+          
+  ;;         
 
   2)
      #2.1
index 6ea2d1bb1a31179ec0abe360a7da7d3bf80d8195..c851520a4ff32d4007e657fb829a1265342c8266 100644 (file)
@@ -72,6 +72,10 @@ export ETC_BASHRC=$HOME/.bashrc
   bash installmod.sh $buildType $bbtkgeditorsource            $generationdir  $installPrefix
   bash installmod.sh $buildType $creatoolssource              $generationdir  $installPrefix
   
+  #should be nice to add bbwx, too. (?) // JPR
+  //bash installmod.sh $buildType bbwx              $generationdir  $installPrefix
+  
+    
 echo installPrefixtmp=$installPrefix >> $ETC_BASHRC
 echo '[ -f "$installPrefixtmp/share/creatools_base_library_config.sh" ] &&  source $installPrefixtmp/share/creatools_base_library_config.sh' >> $ETC_BASHRC 
 
index 1b893870c7f5302b7971125a0f6df7b5964957a6..d986ee1c74049d1ce7908a1db76731e7623f7f92 100644 (file)
@@ -209,6 +209,7 @@ then
   ##cmake -G"CodeBlocks - Unix Makefiles" -H$sourcesDir/$libname -B$dirInstall/
   cmake -D USE_DEBUG_LIB:BOOL=$buildType -D CMAKE_INSTALL_PREFIX:PATH=$installPrefixThird CMakeCache.txt
   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
+  cmake -D ITK_USE_SYSTEM_GDCM:BOOL=ON CMakeCache.txt
   cmake CMakeCache.txt
   make -j 2
   make install