Варианты документации
This commit is contained in:
parent
30bda5c4b6
commit
29669a2b12
@ -28,6 +28,9 @@ function(add_breathe_target)
|
||||
|
||||
cmake_parse_arguments(_BREATHE "${options}" "${oneValueArgs}" "${multiValueArgs}" ${ARGN})
|
||||
set(BREATHE_DOCS_BUILD_DIR ${_BREATHE_BUILD_DIR})
|
||||
set(GENERATE_XML YES)
|
||||
set(GENERATE_HTML NO)
|
||||
set(GENERATE_LATEX NO)
|
||||
|
||||
configure_file(${_BREATHE_CONF_FILE} ${_BREATHE_BUILD_DIR}/conf.py @ONLY)
|
||||
configure_file(${_BREATHE_DOXY_FILE} ${_BREATHE_BUILD_DIR}/Doxyfile @ONLY)
|
||||
|
@ -12,10 +12,19 @@ endif()
|
||||
function(add_doxygen_target)
|
||||
if (DOXYGEN_FOUND)
|
||||
set(options)
|
||||
set(oneValueArgs TARGET_NAME IN OUT)
|
||||
set(oneValueArgs TARGET_NAME IN OUT LATEX HTML)
|
||||
set(multiValueArgs)
|
||||
|
||||
cmake_parse_arguments(_DOXYGEN "${options}" "${oneValueArgs}" "${multiValueArgs}" ${ARGN})
|
||||
set(GENERATE_XML NO)
|
||||
set(GENERATE_HTML NO)
|
||||
set(GENERATE_LATEX NO)
|
||||
if (_DOXYGEN_HTML)
|
||||
set(GENERATE_HTML YES)
|
||||
endif()
|
||||
if (_DOXYGEN_LATEX)
|
||||
set(GENERATE_LATEX YES)
|
||||
endif()
|
||||
|
||||
configure_file(${_DOXYGEN_IN} ${_DOXYGEN_OUT} @ONLY)
|
||||
message("Doxygen build started")
|
||||
|
Loading…
Reference in New Issue
Block a user