X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?p=creaToolsTools.git;a=blobdiff_plain;f=Linux%2Fscripts%2FCreaTools-compile.sh;h=72b7311b4835b89832ef97c02e12869ba877ad84;hp=57c9cc4802de0d7bd8284784d3c1cf9d87272f8e;hb=6d26f492da9eea9c4c53600995316af84cca6c1d;hpb=03e3bbe4e549189ea982140fdb56994ca982500c diff --git a/Linux/scripts/CreaTools-compile.sh b/Linux/scripts/CreaTools-compile.sh index 57c9cc4..72b7311 100644 --- a/Linux/scripts/CreaTools-compile.sh +++ b/Linux/scripts/CreaTools-compile.sh @@ -416,5 +416,36 @@ then fi +# ------------------------- +# start_point = 14 : creaVtk +#------------------------- +if [ $start_point -le 14 ] +then + # the following stupid test is used at debug time; Please don't remove! + #if [ true = false ] + if [ true = true ] + then + # creaVtk + bash $scriptDir/cmakemod.sh $creavtksource $generationdir $installPrefix $buildType + bash $scriptDir/creaVtkVariables.sh $creavtksource $generationdir $docgeneration + bash $scriptDir/compilemod.sh $buildType $creavtksource $generationdir $corenumber + bash $scriptDir/ctestmod.sh $creavtksource $generationdir + fi +fi + creavtkdll=$generationdir/creatools_bin/creaVtkBin + +if [ $OperatingSystem = "MacOS" ] +then + #duplicate form creaTools_name.sh?? //FCY + DYLD_LIBRARY_PATH=$creavtkdll:$DYLD_LIBRARY_$PATH +else + LD_LIBRARY_PATH=$creavtkdll:$LD_LIBRARY_$PATH +fi + + export creaVtk_DIR=$generationdir/creatools_bin/creaVtkBin + + + + # shutdown /s # exit /b