fmt/doc/CMakeLists.txt

8 lines
268 B
CMake

add_custom_command(OUTPUT html/index.html
COMMAND doxygen
COMMAND rm -rf html
COMMAND sphinx-build -b html . html
DEPENDS ../CMakeLists.txt ../format.h Doxyfile
conf.py index.rst _templates/layout.html)
add_custom_target(doc DEPENDS html/index.html)