exit 0
fi
+ cd $generationdir
+ if [ -e creatools_bin ]
+ then
+ rm -rf creatools_bin
+ fi
+ mkdir creatools_bin
cd $scriptDir
if [ true = true ]
then
# BBTK
- sh $scriptDir/cmakemod.sh $bbtksource $generationdir $installPrefix $buildType
- sh $scriptDir/bbtkVariables.sh $bbtksource $generationdir $docgeneration $gdcmVersion
- sh $scriptDir/compilemod.sh $buildType $bbtksource $generationdir
- sh $scriptDir/ctestmod.sh $bbtksource $generationdir
+ sh $scriptDir/cmakemod.sh $bbtksource $generationdir $installPrefix $buildType
+ sh $scriptDir/bbtkVariables.sh $bbtksource $generationdir $docgeneration $gdcmVersion
+ sh $scriptDir/compilemod.sh $buildType $bbtksource $generationdir
+ sh $scriptDir/ctestmod.sh $bbtksource $generationdir
fi
fi
bbtkdll=$generationdir/creatools_bin/bbtkBin
if [ true = true ]
then
# creaMaracasVisu
- sh $scriptDir/cmakemod.sh $creamaracassource $generationdir $installPrefix $buildType
- sh $scriptDir/creaMaracasVariables.sh $creamaracassource $generationdir $docgeneration
- sh $scriptDir/compilemod.sh $buildType $creamaracassource $generationdir
- sh $scriptDir/ctestmod.sh $creamaracassource $generationdir
+ sh $scriptDir/cmakemod.sh $creamaracassource $generationdir $installPrefix $buildType
+ sh $scriptDir/creaMaracasVariables.sh $creamaracassource $generationdir $docgeneration
+ sh $scriptDir/compilemod.sh $buildType $creamaracassource $generationdir
+ sh $scriptDir/ctestmod.sh $creamaracassource $generationdir
fi
fi
creamaracasdll=$generationdir/creatools_bin/creamaracasBin
# $3 : ON/OFF (generate doc)
# $4 : GDCM1 / GDCM2
-
-
binfolder=$2/creatools_bin/$1Bin
cd $binfolder
-
# use GDCM1 as default !
if [ $4 = GDCM2 ]
then
boolgdcm1=ON
fi
-
cmake -D crea_DIR:PATH=$2/creatools_bin/creaBin CMakeCache.txt
cmake -D --BUILD_ALL:BOOL=ON CMakeCache.txt
cmake -D USE_GDCM2:BOOL=$boolgdcm2 -D USE_GDCM:BOOL=$boolgdcm1 -D BUILD_BBTK_DOC_GUIDES_HTML:BOOL=$3 -D BUILD_BBTK_DOC_GUIDES_PDF:BOOL=$3 -D BUILD_BBTK_DOC_DOXYGEN:BOOL=$3 -D BUILD_BBTK_DOC_PACKAGE:BOOL=$3 CMakeCache.txt
cmake -D --BUILD_ALL:BOOL=OFF -D BUILD_BBTK_DOC:BOOL=$3 CMakeCache.txt
cd ..
-
-