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!)"
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
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
##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