rem @echo off
set buildtype=Release
-set docgeneration=ON
+set docgeneration=OFF
set cvsUser=davila
set creasourcefolder=crea
set bbtkgeditorsource=bbtkGEditor
set creatoolssource=creaTools
-REM set bbtkbinfolder=bbtkBin
-REM set creamaracasbinary=creaMaracasVisuBin
-REM set creaenvironmentbinary=creaEnvironmentBin
-REM set creabrukerbinary=creaBrukerBin
-REM set creaimagebinary=creaImageIOBin
-REM set creacontoursbinary=creaContoursBin
-REM set crearigidregistrationbinary=creaRigidRegistrationBin
-REM set bbtkgeditorbinary=bbtkGEditorBin
-REM set creatoolsbinary=creaToolsBin
-
call cvscheckout.bat %creasourcefolder% %cvsUser%
call cvscheckout.bat %bbtksourcefolder% %cvsUser%
cd %binfolder%
set currentdir=%~dp0
set currentdir=%currentdir:\=/%
-cmake -D --BUILD_ALL:BOOL=ON -D crea_DIR:PATH=%currentdir%/tmpCreaTools_INSTALL/crea -D BUILD_creaBruker_DOC:BOOL=%2 CMakeCache.txt
+cmake -D --BUILD_ALL:BOOL=OFF -D crea_DIR:PATH=%currentdir%/tmpCreaTools_INSTALL/crea -D BUILD_creaBruker_DOC:BOOL=%2 CMakeCache.txt
cd ..
\ No newline at end of file
set currentdir=%currentdir:\=/%
cd %1Bin
-cmake -D crea_DIR:PATH=%currentdir%/tmpCreaTools_INSTALL/crea -D BUILD_BBTK_PACKAGE_creaImageIO:BOOL=ON -D creaImageIO_DOC:BOOL=ON -D creaBruker_DIR:PATH=%currentdir%/tmpCreaTools_INSTALL/creaBruker -D USE_GDCM:BOOL=ON CMakeCache.txt
+cmake -D crea_DIR:PATH=%currentdir%/tmpCreaTools_INSTALL/crea -D BUILD_BBTK_PACKAGE_creaImageIO:BOOL=ON -D creaBruker_DIR:PATH=%currentdir%/tmpCreaTools_INSTALL/creaBruker -D USE_GDCM:BOOL=ON CMakeCache.txt
cmake -D BBTK_DIR:PATH=%currentdir%/tmpCreaTools_INSTALL/bbtk CMakeCache.txt
cmake -D BUILD_DOXYGEN_DOC:BOOL=%2 -D BUILD_BBTK_PACKAGE_creaImageIO_DOXYGEN_DOC:BOOL=%2 CMakeCache.txt
cmake CMakeCache.txt