]> Creatis software - creaToolsTools.git/blobdiff - Linux/installscript
#2689 creaToolsTools Feature New Normal - Third party Linux WT configuration
[creaToolsTools.git] / Linux / installscript
index 3a754ee0cdcd53b07a6f9a92b8d80ee91c23e58d..7bebda06e1c6eaa36a2eaa90733f999695ec3894 100755 (executable)
@@ -72,6 +72,7 @@ function usage {
     echo "         3rd-itk                   : Get, Compile, Install itk"
     echo "         3rd-gdcm                  : Get, Compile, Install gdcm"
     echo "         3rd-wx                    : Get, Compile, Install wx widget (for Mac Users)"
+    echo "         3rd-wt                    : Get, Compile, Install wt"
     echo "   "
     echo "    as a normal user:" 
     echo "         creatools                 : Get Compile and Install the CreaTools"
@@ -138,7 +139,7 @@ if [ $# -le 0 ] ; then usage; fi
 command=$1
 
 # check that command is valid
-if [ `checkVal $command all config 3rd 3rd-base 3rd-vtk 3rd-itk 3rd-gdcm 3rd-wx creatools creatools-get creatools-cmp creatools-install creatools-generateBinTGZ uninstall printconfig help env` == "false" ] ; then
+if [ `checkVal $command all config 3rd 3rd-base 3rd-vtk 3rd-itk 3rd-gdcm 3rd-wx 3rd-wt creatools creatools-get creatools-cmp creatools-install creatools-generateBinTGZ uninstall printconfig help env` == "false" ] ; then
     echo "Unrecognized command: $command"
     echo ""
     usage
@@ -259,6 +260,13 @@ if [ `checkVal $command all 3rd 3rd-gdcm` == true ] ; then
     cd $scriptDirName
 fi
 
+# wt
+if [ `checkVal $command all 3rd 3rd-wt` == true ] ; then
+    bigDisplay "INSTALL WT"
+    source scripts/ThirdParty-install-WT.sh
+    cd $scriptDirName
+fi
+
 # itk
 if [ `checkVal $command all 3rd 3rd-itk` == true ] ; then
     bigDisplay "INSTALL $ITKVersion"
@@ -268,7 +276,7 @@ fi
 
 
 # Setup the user .bashrc correctly
-if [ `checkVal $command all 3rd 3rd-vtk 3rd-itk 3rd-gdcm 3rd-wx ` == true ] ; then
+if [ `checkVal $command all 3rd 3rd-vtk 3rd-itk 3rd-gdcm 3rd-wx 3rd-wt ` == true ] ; then
     bigDisplay "FINALIZE 3RD PARTY LIBRARY INSTALLATION"
     bash scripts/ThirdParty-install-Finalize.sh
     if [ `checkVal $command 3rd 3rd-vtk 3rd-itk 3rd-gdcm 3rd-wx ` == true ] ; then