set binfolder=%1\creatools_bin\%2Bin
cd %binfolder%
-cmake -D CREATOOLS_SOURCE_PATH:PATH=%1\creatools_install CMakeCache.txt
+
+cmake -D crea_DIR:PATH=%1\creatools_install\crea CMakeCache.txt
+cmake -D BBTK_DIR:PATH=%1\creatools_install\bbtk CMakeCache.txt
+
+cmake -D BUILD_BBTK_PACKAGE_creaMiniTools:BOOL=ON -D creaMiniTools_DOC:BOOL=%3 CMakeCache.txt
+cmake -D BUILD_BBTK_PACKAGE_creaMiniTools_DOXYGEN_DOC:BOOL=%3 CMakeCache.txt
+
+cmake -D BUILD_BBTK_PACKAGE_creaMiniToolsBase:BOOL=ON -D creaMiniToolsBase_DOC:BOOL=%3 CMakeCache.txt
+cmake -D BUILD_BBTK_PACKAGE_creaMiniToolsBase_DOXYGEN_DOC:BOOL=%3 CMakeCache.txt
+
+cmake CMakeCache.txt
+