Форматирование

This commit is contained in:
Andrei Astafev 2021-06-24 10:39:06 +03:00
parent 7a6c8e4a30
commit ffa6262670
2 changed files with 10 additions and 6 deletions

View File

@ -68,9 +68,11 @@ function(add_breathe_target target)
${RST_FILES} ${WORK_DIR})
endif()
endif()
install(DIRECTORY ${CMAKE_BINARY_DIR}/doc/breathe/
COMPONENT doc OPTIONAL
DESTINATION ${CMAKE_INSTALL_DATADIR}/doc/breathe)
install(
DIRECTORY ${CMAKE_BINARY_DIR}/doc/breathe/
COMPONENT doc
OPTIONAL
DESTINATION ${CMAKE_INSTALL_DATADIR}/doc/breathe)
else()
message(STATUS "CMLIB warning:")
add_custom_target(${target} VERBATIM COMMENT " Breathe is not found. Skipping target ${target} build")

View File

@ -35,9 +35,11 @@ function(add_doxygen_target target)
COMMAND ${DOXYGEN_EXECUTABLE} ${work_dir}/Doxyfile
WORKING_DIRECTORY ${work_dir}
COMMENT "Generating API documentation with Doxygen")
install(DIRECTORY ${CMAKE_BINARY_DIR}/doc/doxygen/html/
COMPONENT doc OPTIONAL
DESTINATION ${CMAKE_INSTALL_DATADIR}/doc/doxygen)
install(
DIRECTORY ${CMAKE_BINARY_DIR}/doc/doxygen/html/
COMPONENT doc
OPTIONAL
DESTINATION ${CMAKE_INSTALL_DATADIR}/doc/doxygen)
else()
message(STATUS "CMLIB warning:")
add_custom_target(${target} VERBATIM COMMENT " Doxygen is not found. Skipping target ${target} build")