X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=Linux%2Finstallscript;h=a1ff1d41d03f832fe7b1f39d7e8931804a37cc62;hb=2d0e412e62870bb81eee1ae1107e7e2f3d6ed7a1;hp=5f49a6bb0bbe63159feef4257ea3c99c0e4cb6a6;hpb=41bf214b2d43941b76d3e6372a35d99b7b8744a8;p=creaToolsTools.git diff --git a/Linux/installscript b/Linux/installscript index 5f49a6b..a1ff1d4 100755 --- a/Linux/installscript +++ b/Linux/installscript @@ -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 @@ -153,7 +154,7 @@ if [ `checkVal $command config all` == false ] ; then exit fi source $configureFile - if [ ! -f $installPrefixThird/share/creatools_third_party_library_config.sh ] ; then + if [ ! -f $installPrefixThird/share/creatools/creatools_third_party_library_config.sh ] ; then echo WARNING echo "the curently used Third Party libraries are NOT in $installPrefixThird but ... in :" grep "installPrefixThird=" $ETC_BASHRC @@ -266,9 +267,15 @@ if [ `checkVal $command all 3rd 3rd-itk` == 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 # 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