diff --git a/CMLibBreathe.cmake b/CMLibBreathe.cmake index d72f4d8..37ea098 100644 --- a/CMLibBreathe.cmake +++ b/CMLibBreathe.cmake @@ -21,7 +21,7 @@ function(add_breathe_target) configure_file(${_BREATHE_CONF_FILE} ${_BREATHE_BUILD_DIR}/conf.py @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} -d ${_BREATHE_CACHE_DIR} ${_BREATHE_SOURCE_DIR} diff --git a/CMLibDoxygen.cmake b/CMLibDoxygen.cmake index 3531048..a59a12a 100644 --- a/CMLibDoxygen.cmake +++ b/CMLibDoxygen.cmake @@ -14,7 +14,7 @@ function(add_doxygen_target) configure_file(${_DOXYGEN_IN} ${_DOXYGEN_OUT} @ONLY) message("Doxygen build started") - add_custom_target(${_DOXYGEN_TARGET} + add_custom_target(${_DOXYGEN_TARGET} VERBATIM COMMAND ${DOXYGEN_EXECUTABLE} ${DOXYGEN_OUT} WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} COMMENT "Generating API documentation with Doxygen"