mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-10 01:41:57 +00:00
16 lines
383 B
CMake
16 lines
383 B
CMake
find_package(Doxygen REQUIRED)
|
|
find_program(
|
|
SPHINX_EXECUTABLE
|
|
NAMES sphinx-build
|
|
REQUIRED
|
|
DOC "Path to the sphinx-build executable"
|
|
)
|
|
|
|
add_custom_target(
|
|
cpp_api_docs
|
|
COMMAND ${SPHINX_EXECUTABLE} -M html . output -W --keep-going
|
|
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
|
|
COMMENT "Generating the IfcOpenShell C++ API documentation"
|
|
VERBATIM
|
|
)
|