2023-10-15 01:38:01 +00:00
|
|
|
# Doxygen support for scsl.
|
2023-10-10 02:59:21 +00:00
|
|
|
find_package(Doxygen)
|
|
|
|
|
|
|
|
if (${DOXYGEN_FOUND})
|
2023-10-10 09:35:43 +00:00
|
|
|
set(DOXYGEN_GENERATE_MAN YES)
|
|
|
|
set(DOXYGEN_GENERATE_LATEX YES)
|
2023-10-16 09:18:09 +00:00
|
|
|
set(DOXYGEN_EXTRACT_ALL YES)
|
2023-10-16 00:09:31 +00:00
|
|
|
message(STATUS "Doxygen found, building docs.")
|
2023-10-10 02:59:21 +00:00
|
|
|
|
2023-10-15 01:38:01 +00:00
|
|
|
doxygen_add_docs(scsl_docs
|
2023-10-19 07:37:56 +00:00
|
|
|
${HEADER_FILES}
|
2023-10-19 18:16:13 +00:00
|
|
|
ALL
|
2023-10-11 02:39:18 +00:00
|
|
|
USE_STAMP_FILE)
|
2023-10-15 01:38:01 +00:00
|
|
|
install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/html DESTINATION share/doc/scsl)
|
2023-10-11 02:39:18 +00:00
|
|
|
install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/man DESTINATION share)
|
2023-10-10 02:59:21 +00:00
|
|
|
|
2023-10-11 02:39:18 +00:00
|
|
|
endif ()
|
2023-10-11 05:17:22 +00:00
|
|
|
|