myxlib/doc/CMakeLists.txt

21 lines
588 B
CMake
Raw Normal View History

add_breathe_target(
TARGET_NAME doc-breathe
SOURCE_DIR ${CMAKE_SOURCE_DIR}/doc/breathe
DOXY_FILE ${CMAKE_SOURCE_DIR}/doc/Doxyfile.in
CONF_FILE ${CMAKE_SOURCE_DIR}/doc/breathe/conf.py.in
OUTPUT_DIR ${CMAKE_BINARY_DIR}/doc/breathe
COMMENT "Documentation in HTML format with Breathe generator"
)
add_doxygen_target(
TARGET_NAME doc-doxygen
SOURCE_DIR ${CMAKE_SOURCE_DIR}/src
DOXY_FILE ${CMAKE_SOURCE_DIR}/doc/Doxyfile.in
OUTPUT_DIR ${CMAKE_BINARY_DIR}/doc
HTML YES
LATEX YES
COMMENT "Documentation in HTML and LaTeX format with Doxygen"
)