2
0

UpdateDocument.bat 561 B

12345678910111213141516171819
  1. @echo off
  2. doxygen -v 1>nul 2>&1
  3. if %errorlevel% == 0 goto :start
  4. echo Could not update document because doxygen is not installed
  5. exit /B 1
  6. :start
  7. pushd "%~dp0..\Docs"
  8. echo Dumping AngelScript API...
  9. "%~dp0ScriptCompiler" -dumpapi ScriptAPI.dox AngelScriptAPI.h
  10. if errorlevel 1 exit /B 1
  11. echo Dumping LuaScript API...
  12. pushd ..\Source\Engine\LuaScript\pkgs
  13. "%~dp0tolua++" -L ToDoxHook.lua -P -o "%~dp0..\Docs\LuaScriptAPI.dox" "%~dp0LuaPkgToDox.txt"
  14. if errorlevel 1 exit /B 1
  15. popd
  16. echo Converting Doxygen files to HTML...
  17. doxygen Doxyfile 1>nul
  18. echo Finish.
  19. popd