rem @echo off
set buildtype=Release
+set docgeneration=ON
set creasourcefolder=crea
-set creabinfolder=creaBin
set bbtksourcefolder=bbtk
-set bbtkbinfolder=bbtkBin
set creamaracassourcefolder=creaMaracasVisu
-set creamaracasbinary=creaMaracasVisuBin
set creaenvironmentsource=creaEnvironment
-set creaenvironmentbinary=creaEnvironmentBin
set creabrukersource=creaBruker
-set creabrukerbinary=creaBrukerBin
set creaimagesourcefolder=creaImageIO
-set creaimagebinary=creaImageIOBin
set creacontourssource=creaContours
-set creacontoursbinary=creaContoursBin
set crearigidregistrationssource=creaRigidRegistration
-set crearigidregistrationbinary=creaRigidRegistrationBin
set bbtkgeditorsource=bbtkGEditor
-set bbtkgeditorbinary=bbtkGEditorBin
set creatoolssource=creaTools
-set creatoolsbinary=creaToolsBin
+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%
-call cvscheckout.bat %bbtksourcefolder%
-call cvscheckout.bat %creamaracassourcefolder%
+
+rem call cvscheckout.bat %creasourcefolder%
+rem call cvscheckout.bat %bbtksourcefolder%
+rem call cvscheckout.bat %creamaracassourcefolder%
call cvscheckout.bat %creaenvironmentsource%
call cvscheckout.bat %creabrukersource%
call cvscheckout.bat %creaimagesourcefolder%
-call cvscheckout.bat %creacontourssource%
-call cvscheckout.bat %crearigidregistrationssource%
-call cvscheckout.bat %bbtkgeditorsource%
-call cvscheckout.bat %creatoolssource%
+rem call cvscheckout.bat %creacontourssource%
+rem call cvscheckout.bat %crearigidregistrationssource%
+rem call cvscheckout.bat %bbtkgeditorsource%
+rem call cvscheckout.bat %creatoolssource%
rem CREA
-call cmakemod.bat %creasourcefolder% %creabinfolder%
-call creaVariables.bat %creabinfolder% %creasourcefolder%
-call compilemod.bat %buildtype% %creabinfolder%
-call ctestmod.bat %creabinfolder%
+rem call cmakemod.bat %creasourcefolder%
+rem call creaVariables.bat %creasourcefolder%
+rem call compilemod.bat %buildtype% %creasourcefolder%
+rem call ctestmod.bat %creasourcefolder%
set creadll=%~dp0
-set creadll=%creadll%%creabinfolder%\%buildtype%
+set creadll=%creadll%%creasourcefolder%Bin\%buildtype%
set PATH=%creadll%;%PATH%
+
rem BBTK
-call cmakemod.bat %bbtksourcefolder% %bbtkbinfolder%
-call bbtkVariables.bat %bbtkbinfolder% %creabinfolder%
-call compilemod.bat %buildtype% %bbtkbinfolder%
-call ctestmod.bat %bbtkbinfolder%
+rem call cmakemod.bat %bbtksourcefolder%
+rem call bbtkVariables.bat %bbtksourcefolder% %docgeneration%
+rem call compilemod.bat %buildtype% %bbtksourcefolder%
+rem call ctestmod.bat %bbtksourcefolder%
set bbtkdll=%~dp0
-set bbtkdll=%bbtkdll%%bbtkbinfolder%\%buildtype%
+set bbtkdll=%bbtkdll%%bbtksourcefolder%Bin\%buildtype%
set PATH=%bbtkdll%;%PATH%
rem creaMaracasVisu
-call cmakemod.bat %creamaracassourcefolder% %creamaracasbinary%
-call creaMaracasVariables.bat %creamaracasbinary% %creabinfolder% %bbtkbinfolder%
-call compilemod.bat %buildtype% %creamaracasbinary%
-call ctestmod.bat %creamaracasbinary%
-set creamaracasdll=%~dp0%creamaracasbinary%\%buildtype%
+call cmakemod.bat %creamaracassourcefolder%
+call creaMaracasVariables.bat %creamaracassourcefolder% %docgeneration%
+call compilemod.bat %buildtype% %creamaracassourcefolder%
+call ctestmod.bat %creamaracassourcefolder%
+set creamaracasdll=%~dp0%creamaracassourcefolder%\%buildtype%
set PATH=%creamaracasdll%;%PATH%
+
rem creaEnvironment
-call cmakemod.bat %creaenvironmentsource% %creaenvironmentbinary%
-call creaenvironmentVariables.bat %creaenvironmentbinary% %creabinfolder%
-call compilemod.bat %buildtype% %creaenvironmentbinary%
-call ctestmod.bat %creaenvironmentbinary%
-set creaenvironmentdll=%~dp0%creaenvironmentbinary%\%buildtype%
+call cmakemod.bat %creaenvironmentsource%
+call creaenvironmentVariables.bat %creaenvironmentsource%
+call compilemod.bat %buildtype% %creaenvironmentsource%
+call ctestmod.bat %creaenvironmentsource%
+set creaenvironmentdll=%~dp0%creaenvironmentsource%\%buildtype%
set PATH=%creaenvironmentdll%;%PATH%
rem JPR : strange : call creaenvironmentVariables.bat here ?!?
rem creaBruker
-call cmakemod.bat %creabrukersource% %creabrukerbinary%
-call creaenvironmentVariables.bat %creabrukerbinary% %creabinfolder%
-call compilemod.bat %buildtype% %creabrukerbinary%
-call ctestmod.bat %creabrukerbinary%
-set creabrukerdll=%~dp0%creabrukerbinary%\%buildtype%
+call cmakemod.bat %creabrukersource%
+call creaBrukerVariables.bat %creabrukersource% %docgeneration%
+call compilemod.bat %buildtype% %creabrukersource%
+call ctestmod.bat %creabrukersource%
+set creabrukerdll=%~dp0%creabrukersource%\%buildtype%
set PATH=%creabrukerdll%;%PATH%
rem creaImageIO
-call cmakemod.bat %creaimagesourcefolder% %creaimagebinary%
-call creaImageIOVariables.bat %creaimagebinary% %creabinfolder% %bbtkbinfolder% %creabrukerbinary%
-call compilemod.bat %buildtype% %creaimagebinary%
-call ctestmod.bat %creaimagebinary%
-set creaimagedll=%~dp0%creaimagebinary%\%buildtype%
+call cmakemod.bat %creaimagesourcefolder%
+call creaImageIOVariables.bat %creaimagesourcefolder% %docgeneration%
+call compilemod.bat %buildtype% %creaimagesourcefolder%
+call ctestmod.bat %creaimagesourcefolder%
+set creaimagedll=%~dp0%creaimagesourcefolder%\%buildtype%
set PATH=%creaimagedll%;%PATH%
+pause
+
rem creaContours
-call cmakemod.bat %creacontourssource% %creacontoursbinary%
-call creaContoursVariables.bat %creacontoursbinary% %creasourcefolder% %creaenvironmentsource% %creamaracassourcefolder% %creaimagesourcefolder% %bbtksourcefolder%
-call compilemod.bat %buildtype% %creacontoursbinary%
-call ctestmod.bat %creacontoursbinary%
-rem set creacontourdll=%~dp0%creacontoursbinary%\%buildtype%
+rem call cmakemod.bat %creacontourssource%
+rem call creaContoursVariables.bat %creacontourssource% %docgeneration%
+rem call compilemod.bat %buildtype% %creacontourssource%
+rem call ctestmod.bat %creacontourssource%
+rem set creacontourdll=%~dp0%creacontourssource%\%buildtype%
rem set PATH=%creacontoursdll%;%PATH%
rem creaRigidRegistration
-call cmakemod.bat %crearigidregistrationssource% %crearigidregistrationbinary%
-call creaRigidRegistrationVariables.bat %crearigidregistrationbinary% %creabinfolder% %bbtksourcefolder%
-call compilemod.bat %buildtype% %crearigidregistrationbinary%
-call ctestmod.bat %crearigidregistrationbinary%
-rem set crearigidregistrationdll=%~dp0%crearigidregistrationbinary%\%buildtype%
+rem call cmakemod.bat %crearigidregistrationssource%
+rem call creaRigidRegistrationVariables.bat %crearigidregistrationssource% %docgeneration%
+rem call compilemod.bat %buildtype% %crearigidregistrationssource%
+rem call ctestmod.bat %crearigidregistrationssource%
+rem set crearigidregistrationdll=%~dp0%crearigidregistrationssource%\%buildtype%
rem set PATH=%crearigidregistrationdll%;%PATH%
rem bbtkGEditor
-call cmakemod.bat %bbtkgeditorsource% %bbtkgeditorbinary%
-call bbtkGEditorVariables.bat %bbtkgeditorbinary% %creasourcefolder% %bbtksourcefolder% %creamaracassourcefolder%
-call compilemod.bat %buildtype% %bbtkgeditorbinary%
-call ctestmod.bat %bbtkgeditorbinary%
-rem set bbtkgeditordll=%~dp0%bbtkgeditorbinary%\%buildtype%
+rem call cmakemod.bat %bbtkgeditorsource%
+rem call bbtkGEditorVariables.bat %bbtkgeditorsource% %docgeneration%
+rem call compilemod.bat %buildtype% %bbtkgeditorsource%
+rem call ctestmod.bat %bbtkgeditorsource%
+rem set bbtkgeditordll=%~dp0%bbtkgeditorsource%\%buildtype%
rem set PATH=%bbtkgeditordll%;%PATH%
rem creaTools
-call cmakemod.bat %creatoolssource% %creatoolsbinary%
-call creaToolsVariables.bat %creatoolsbinary%
-call compilemodCreaTools.bat %buildtype% %creatoolsbinary%
-rem call ctestmod.bat %creatoolsbinary%
+rem call cmakemod.bat %creatoolssource%
+rem call creaToolsVariables.bat %creatoolsbinary%
+rem call compilemodCreaTools.bat %buildtype% %creatoolsbinary%
+rem remrem call ctestmod.bat %creatoolsbinary%
set creatoolsdll=%~dp0%creatoolsbinary%\%buildtype%
set PATH=%creatoolssdll%;%PATH%