Параметры целей
This commit is contained in:
parent
3654fd719e
commit
25218a634d
@ -21,7 +21,7 @@ function(add_breathe_target)
|
|||||||
configure_file(${_BREATHE_CONF_FILE} ${_BREATHE_BUILD_DIR}/conf.py @ONLY)
|
configure_file(${_BREATHE_CONF_FILE} ${_BREATHE_BUILD_DIR}/conf.py @ONLY)
|
||||||
configure_file(${_BREATHE_DOXY_FILE} ${_BREATHE_BUILD_DIR}/Doxyfile @ONLY)
|
configure_file(${_BREATHE_DOXY_FILE} ${_BREATHE_BUILD_DIR}/Doxyfile @ONLY)
|
||||||
|
|
||||||
add_custom_target(${_BREATHE_TARGET_NAME} ALL VERBATIM
|
add_custom_target(${_BREATHE_TARGET_NAME} VERBATIM
|
||||||
COMMAND ${SPHINX_EXECUTABLE} -q -b html -c ${_BREATHE_BUILD_DIR}
|
COMMAND ${SPHINX_EXECUTABLE} -q -b html -c ${_BREATHE_BUILD_DIR}
|
||||||
-d ${_BREATHE_CACHE_DIR}
|
-d ${_BREATHE_CACHE_DIR}
|
||||||
${_BREATHE_SOURCE_DIR}
|
${_BREATHE_SOURCE_DIR}
|
||||||
|
@ -14,7 +14,7 @@ function(add_doxygen_target)
|
|||||||
configure_file(${_DOXYGEN_IN} ${_DOXYGEN_OUT} @ONLY)
|
configure_file(${_DOXYGEN_IN} ${_DOXYGEN_OUT} @ONLY)
|
||||||
message("Doxygen build started")
|
message("Doxygen build started")
|
||||||
|
|
||||||
add_custom_target(${_DOXYGEN_TARGET}
|
add_custom_target(${_DOXYGEN_TARGET} VERBATIM
|
||||||
COMMAND ${DOXYGEN_EXECUTABLE} ${DOXYGEN_OUT}
|
COMMAND ${DOXYGEN_EXECUTABLE} ${DOXYGEN_OUT}
|
||||||
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
|
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
|
||||||
COMMENT "Generating API documentation with Doxygen"
|
COMMENT "Generating API documentation with Doxygen"
|
||||||
|
Loading…
Reference in New Issue
Block a user