Fix doc build by resurrecting generation of supported DOM APIs.h

This commit is contained in:
Josh Matthews 2016-09-24 15:06:06 -04:00
parent 0b0495cff4
commit 80166176a3
2 changed files with 21 additions and 3 deletions

View file

@ -72,6 +72,22 @@ add_custom_command(
VERBATIM
)
add_custom_command(
OUTPUT apis.html
COMMAND python -B ${bindings_src}/pythonpath.py -I ${bindings_src}/parser -I ${bindings_src}/ply
${bindings_src}/GlobalGen.py
--cachedir=_cache
--filelist=webidls.list
--only-html
${bindings_src}/Bindings.conf
.
${PROJECT_SOURCE_DIR}
DEPENDS _cache ${globalgen_deps} ${webidls}
VERBATIM
)
add_custom_target(supported-apis DEPENDS apis.html)
# We need an intermediate custom target for this, due to this misfeature:
# > If any dependency is an OUTPUT of another custom command in the same
# > directory CMake automatically brings the other custom command into the