Files
IfcOpenShell/docs/cpp-api/CMakeLists.txt
T
Thomas Krijnen 8870ffb018 Rework c++ docs
2026-08-08 03:44:56 +02:00

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
)