Форматирование
This commit is contained in:
parent
7a6c8e4a30
commit
ffa6262670
@ -68,9 +68,11 @@ function(add_breathe_target target)
|
|||||||
${RST_FILES} ${WORK_DIR})
|
${RST_FILES} ${WORK_DIR})
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
install(DIRECTORY ${CMAKE_BINARY_DIR}/doc/breathe/
|
install(
|
||||||
COMPONENT doc OPTIONAL
|
DIRECTORY ${CMAKE_BINARY_DIR}/doc/breathe/
|
||||||
DESTINATION ${CMAKE_INSTALL_DATADIR}/doc/breathe)
|
COMPONENT doc
|
||||||
|
OPTIONAL
|
||||||
|
DESTINATION ${CMAKE_INSTALL_DATADIR}/doc/breathe)
|
||||||
else()
|
else()
|
||||||
message(STATUS "CMLIB warning:")
|
message(STATUS "CMLIB warning:")
|
||||||
add_custom_target(${target} VERBATIM COMMENT " Breathe is not found. Skipping target ${target} build")
|
add_custom_target(${target} VERBATIM COMMENT " Breathe is not found. Skipping target ${target} build")
|
||||||
|
@ -35,9 +35,11 @@ function(add_doxygen_target target)
|
|||||||
COMMAND ${DOXYGEN_EXECUTABLE} ${work_dir}/Doxyfile
|
COMMAND ${DOXYGEN_EXECUTABLE} ${work_dir}/Doxyfile
|
||||||
WORKING_DIRECTORY ${work_dir}
|
WORKING_DIRECTORY ${work_dir}
|
||||||
COMMENT "Generating API documentation with Doxygen")
|
COMMENT "Generating API documentation with Doxygen")
|
||||||
install(DIRECTORY ${CMAKE_BINARY_DIR}/doc/doxygen/html/
|
install(
|
||||||
COMPONENT doc OPTIONAL
|
DIRECTORY ${CMAKE_BINARY_DIR}/doc/doxygen/html/
|
||||||
DESTINATION ${CMAKE_INSTALL_DATADIR}/doc/doxygen)
|
COMPONENT doc
|
||||||
|
OPTIONAL
|
||||||
|
DESTINATION ${CMAKE_INSTALL_DATADIR}/doc/doxygen)
|
||||||
else()
|
else()
|
||||||
message(STATUS "CMLIB warning:")
|
message(STATUS "CMLIB warning:")
|
||||||
add_custom_target(${target} VERBATIM COMMENT " Doxygen is not found. Skipping target ${target} build")
|
add_custom_target(${target} VERBATIM COMMENT " Doxygen is not found. Skipping target ${target} build")
|
||||||
|
Loading…
Reference in New Issue
Block a user