cmake: Add a Doxygen target to the binary distribution (fixes issue #3386)

This change also writes a docs/index.html file to provide an easier entry point
for loading the documentation from the docs/html directory.
This commit is contained in:
Marshall Greenblatt
2022-09-02 13:10:58 -04:00
parent 51699e671a
commit fa2464e843
3 changed files with 38 additions and 1 deletions

View File

@@ -25,8 +25,12 @@ for /F %%i in ('python.bat %~dp0\cef_version.py current') do set PROJECT_NUMBER=
set CURRENT_PATH="%CD%"
cd "%~dp0\.."
:: Generate documentation in the docs/html directory.
%DOXYGEN_EXE% Doxyfile
:: Write a docs/index.html file.
echo|set /p="<html><head><meta http-equiv="refresh" content="0;URL='html/index.html'"/></head></html>" > docs/index.html
cd "%CURRENT_PATH%"
:end