X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=Linux%2Finstallscript;h=b7c2f492c9209ee9dd3f42ab0e1f1a398675e40a;hb=86c5583aab988649d3987a15fcd17da4739baff3;hp=5f49a6bb0bbe63159feef4257ea3c99c0e4cb6a6;hpb=41bf214b2d43941b76d3e6372a35d99b7b8744a8;p=creaToolsTools.git diff --git a/Linux/installscript b/Linux/installscript index 5f49a6b..b7c2f49 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 @@ -173,8 +174,8 @@ fi checkDistrib $OperatingSystem # complete default install prefix -if [ -z "$installPrefix" ] ; then installPrefix=$generationdir/creatools_install; fi -if [ -z "$installPrefixThird" ] ; then installPrefixThird=$generationdir/thirdparty_install; fi +if [ -z "$installPrefix" ] ; then installPrefix=$generationdir/ci; fi +if [ -z "$installPrefixThird" ] ; then installPrefixThird=$generationdir/tpli; fi # check build type if [ `checkVal $buildType Release Debug RelWithDebug` == "false" ] ; then @@ -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