@echo off
cls

setlocal

:: In aktuellen Ordner wechseln
%~d0
cd %~dp0

:: Dokumentation via doxygen erzeugen
pushd "doxygen
doxygen TimeScheduler.doxyconf
popd

:: Dokumentation via simpleDocu erzeugen
set FOLDER=%1
if "%FOLDER%"=="" set FOLDER=Release
pushd "docu"
docu.exe "..\..\TimeScheduler\bin\%FOLDER%\TimeScheduler.exe" "..\..\TimeScheduler\bin\%FOLDER%\TimeScheduler.XML" --output="..\..\output\docu"
popd

endlocal
::pause
