if [ true = true ]
then
# creaMiniTools
- bash $scriptDir/cmakemod.sh $creaminitoolssource $generationdir $installPrefix $buildType
- bash $scriptDir/creaToolsVariables.sh $creaminitoolssource $generationdir $docgeneration
- bash $scriptDir/compilemod.sh $buildType $creaminitoolssource $generationdir
+ bash $scriptDir/cmakemod.sh $creaminitoolssource $generationdir $installPrefix $buildType
+ bash $scriptDir/creaMiniToolsVariables.sh $creaminitoolssource $generationdir $docgeneration
+ bash $scriptDir/compilemod.sh $buildType $creaminitoolssource $generationdir
fi
fi
--- /dev/null
+#!/bin/bash
+
+# $1 : bbtk
+# $2 : generationdir
+# $3 : ON/OFF (generate doc)
+
+currentdir=$2
+binfolder=$2/creatools_bin/$1Bin
+cd $binfolder
+
+cmake -D BBTK_DIR:PATH=$currentdir/creatools_bin/bbtkBin CMakeCache.txt
+cmake -D crea_DIR:PATH=$currentdir/creatools_bin/creaBin CMakeCache.txt
+cmake -D BUILD_BBTK_PACKAGE_bbtk_package_creaMiniTools:BOOL=ON CMakeCache.txt
+cmake -D BUILD_BBTK_PACKAGE_bbtk_package_creaMiniToolsBase:BOOL=ON CMakeCache.txt
+cmake -D creaMiniTools_DOC:BOOL=$3 CMakeCache.txt
+cmake -D BUILD_BBTK_PACKAGE_creaMinitTools_DOXYGEN_DOC:BOOL=$3 CMakeCache.txt
+cmake -D BUILD_BBTK_PACKAGE_creaMinitToolsBase_DOXYGEN_DOC:BOOL=$3 CMakeCache.txt
+
+cmake CMakeCache.txt
+cmake CMakeCache.txt
+
+cd ..