1From d75193671c235e4b3bd02417b40516f3bfeb55b6 Mon Sep 17 00:00:00 2001 2From: Khem Raj <raj.khem@gmail.com> 3Date: Sun, 30 Apr 2023 14:09:21 -0700 4Subject: [PATCH] Disable doxygen 5 6doxygen (dot) detect does not work in cross environment here with cmake 7 8Upstream-Status: Inappropriate [Cross-compile specific] 9Signed-off-by: Khem Raj <raj.khem@gmail.com> 10--- 11 etc/configure.cmake | 2 +- 12 srecord/CMakeLists.txt | 6 +++--- 13 2 files changed, 4 insertions(+), 4 deletions(-) 14 15--- a/etc/configure.cmake 16+++ b/etc/configure.cmake 17@@ -103,32 +103,3 @@ option(_TANDEM_SOURCE ON) 18 # Enable general extensions on Solaris. 19 option(__EXTENSIONS__ ON) 20 21-# Doxygen configuration 22-find_package(Doxygen REQUIRED doxygen dot) 23- 24-set(DOXYGEN_DOT_GRAPH_MAX_NODES 150) 25-set(DOXYGEN_ALPHABETICAL_INDEX NO) 26-set(DOXYGEN_BUILTIN_STL_SUPPORT YES) 27-set(DOXYGEN_CASE_SENSE_NAMES NO) 28-set(DOXYGEN_CLASS_DIAGRAMS YES) 29-set(DOXYGEN_DISTRIBUTE_GROUP_DOC YES) 30-set(DOXYGEN_EXCLUDE bin) 31-set(DOXYGEN_EXTRACT_ALL YES) 32-set(DOXYGEN_EXTRACT_LOCAL_CLASSES NO) 33-set(DOXYGEN_FILE_PATTERNS *.h) 34-set(DOXYGEN_GENERATE_TREEVIEW YES) 35-set(DOXYGEN_HIDE_FRIEND_COMPOUNDS YES) 36-set(DOXYGEN_HIDE_IN_BODY_DOCS YES) 37-set(DOXYGEN_HIDE_UNDOC_CLASSES YES) 38-set(DOXYGEN_HIDE_UNDOC_MEMBERS YES) 39-set(DOXYGEN_JAVADOC_AUTOBRIEF YES) 40-set(DOXYGEN_QT_AUTOBRIEF YES) 41-set(DOXYGEN_QUIET YES) 42-set(DOXYGEN_RECURSIVE YES) 43-set(DOXYGEN_REFERENCED_BY_RELATION YES) 44-set(DOXYGEN_REFERENCES_RELATION YES) 45-set(DOXYGEN_SORT_BY_SCOPE_NAME YES) 46-set(DOXYGEN_SORT_MEMBER_DOCS NO) 47-set(DOXYGEN_SOURCE_BROWSER YES) 48-set(DOXYGEN_STRIP_CODE_COMMENTS NO) 49-set(DOXYGEN_GENERATE_HTML YES) 50--- a/srecord/CMakeLists.txt 51+++ b/srecord/CMakeLists.txt 52@@ -34,9 +34,9 @@ install(DIRECTORY ${CMAKE_CURRENT_SOURCE 53 FILES_MATCHING PATTERN "*.h") 54 55 # Install the Doxygen output for the website 56-install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/html 57- DESTINATION ${CMAKE_INSTALL_DOCDIR}/htdocs/srecord 58- COMPONENT website) 59+#install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/html 60+# DESTINATION ${CMAKE_INSTALL_DOCDIR}/htdocs/srecord 61+# COMPONENT website) 62 63 # Generate config.h to suit local environment 64 configure_file(config.h.in config.h @ONLY) 65@@ -44,6 +44,6 @@ configure_file(patchlevel.h.in patchleve 66 include_directories(${CMAKE_CURRENT_BINARY_DIR}) 67 68 # Generate doxygen content 69-doxygen_add_docs(doxygen 70- ${LIB_SRECORD_HDR} 71- ALL) 72+#doxygen_add_docs(doxygen 73+# ${LIB_SRECORD_HDR} 74+# ALL) 75--- a/CMakeLists.txt 76+++ b/CMakeLists.txt 77@@ -55,7 +55,7 @@ enable_testing() 78 add_subdirectory(test) 79 80 # Documentation & Man Pages 81-add_subdirectory(doc) 82+# add_subdirectory(doc) 83 84 # Package SRecord 85 include(CPack) 86