From 866f39f54e006ad140b507b8f5cd97c506e0b0e5 Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 5 Nov 2026 00:17:29 +0000 Subject: [PATCH] build!: remove the Doxygen documentation target - Remove the option BUILD_DOCS, the target docs and the install of the HTML files - Remove the Doxygen lookup and the docs line of the configure summary - Remove docs/footer.html and the Doxygen entries of README.md BREAKING CHANGE: The option BUILD_DOCS and the package component docs do not exist any more. The site in docs/ replaces the Doxygen HTML. Co-Authored-By: Claude Opus 5.5 --- CMakeLists.txt | 20 -------------------- README.md | 3 --- cmake/FairMQDependencies.cmake | 11 ----------- cmake/FairMQSummary.cmake | 6 ------ docs/footer.html | 1 - 5 files changed, 41 deletions(-) delete mode 100644 docs/footer.html diff --git a/CMakeLists.txt b/CMakeLists.txt index e896a20a..833ba635 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -30,8 +30,6 @@ fairmq_build_option(BUILD_EXAMPLES "Build FairMQ examples." DEFAULT ON REQUIRES "BUILD_FAIRMQ") fairmq_build_option(BUILD_TIDY_TOOL "Build the fairmq-tidy tool." DEFAULT OFF) -fairmq_build_option(BUILD_DOCS "Build FairMQ documentation." - DEFAULT OFF) fairmq_build_option(USE_EXTERNAL_GTEST "Do not use bundled GTest. Not recommended." DEFAULT OFF) fairmq_build_option(FAIRMQ_DEBUG_MODE "Compile in debug mode (may decrease performance)." @@ -65,16 +63,6 @@ if(BUILD_EXAMPLES) add_subdirectory(examples) endif() -if(BUILD_DOCS) - set(DOXYGEN_OUTPUT_DIRECTORY doxygen) - set(DOXYGEN_PROJECT_NUMBER ${PROJECT_GIT_VERSION}) - set(DOXYGEN_PROJECT_BRIEF "C++ Message Queuing Library and Framework") - set(DOXYGEN_USE_MDFILE_AS_MAINPAGE README.md) - set(DOXYGEN_HTML_FOOTER docs/footer.html) - doxygen_add_docs(doxygen README.md fairmq) - add_custom_target(docs ALL DEPENDS doxygen) -endif() - if(BUILD_TIDY_TOOL) add_subdirectory(fairmq/tidy) endif() @@ -91,9 +79,6 @@ endif() if(BUILD_EXAMPLES) list(APPEND PROJECT_PACKAGE_COMPONENTS examples) endif() -if(BUILD_DOCS) - list(APPEND PROJECT_PACKAGE_COMPONENTS docs) -endif() if(BUILD_TIDY_TOOL) list(APPEND PROJECT_PACKAGE_COMPONENTS tidy_tool) endif() @@ -106,11 +91,6 @@ if(BUILD_FAIRMQ) DESTINATION ${PROJECT_INSTALL_CMAKEMODDIR} ) endif() -if(BUILD_DOCS) - install(DIRECTORY ${CMAKE_BINARY_DIR}/doxygen/html - DESTINATION ${PROJECT_INSTALL_DATADIR}/docs - ) -endif() if(BUILD_TIDY_TOOL) install(FILES cmake/FairMQTidy.cmake DESTINATION ${PROJECT_INSTALL_CMAKEMODDIR} diff --git a/README.md b/README.md index dee58203..ab004b36 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,3 @@ - # FairMQ [![license](https://alfa-ci.gsi.de/shields/badge/license-LGPL--3.0-orange.svg)](COPYRIGHT) @@ -98,7 +97,6 @@ list(PREPEND CMAKE_PREFIX_PATH /path/to/fairmq_install) * [Boost](https://www.boost.org/) * [CMake](https://cmake.org/) - * [Doxygen](http://www.doxygen.org/) * [FairCMakeModules](https://github.com/FairRootGroup/FairCMakeModules) (optionally bundled) * [FairLogger](https://github.com/FairRootGroup/FairLogger) * [GTest](https://github.com/google/googletest) (optionally bundled) @@ -115,7 +113,6 @@ On command line: * `-DDISABLE_COLOR=ON` disables coloured console output. * `-DBUILD_TESTING=OFF` disables building of tests. * `-DBUILD_EXAMPLES=OFF` disables building of examples. - * `-DBUILD_DOCS=ON` enables building of API docs. * `-DFAIRMQ_CHANNEL_DEFAULT_AUTOBIND=OFF` disable channel `autoBind` by default * You can hint non-system installations for dependent packages, see the #installation-from-source section above diff --git a/cmake/FairMQDependencies.cmake b/cmake/FairMQDependencies.cmake index e965a307..24ef0c07 100644 --- a/cmake/FairMQDependencies.cmake +++ b/cmake/FairMQDependencies.cmake @@ -58,12 +58,6 @@ if(BUILD_TESTING) endif() endif() -if(BUILD_DOCS) - find_package2(PRIVATE Doxygen REQUIRED VERSION 1.8.8 - COMPONENTS dot - ) -endif() - if(BUILD_TIDY_TOOL) find_package2(PRIVATE LLVM REQUIRED) find_package2(PRIVATE Clang REQUIRED) @@ -90,11 +84,6 @@ if(PROJECT_PACKAGE_DEPENDENCIES) endif() get_filename_component(Boost_PREFIX ${boost_include}/.. ABSOLUTE) unset(boost_include) - elseif(${dep} STREQUAL Doxygen) - get_target_property(doxygen_bin Doxygen::doxygen INTERFACE_LOCATION) - get_filename_component(Doxygen_PREFIX ${doxygen_bin} DIRECTORY) - get_filename_component(Doxygen_PREFIX ${Doxygen_PREFIX}/.. ABSOLUTE) - unset(doxygen_bin) elseif(NOT ${dep}_PREFIX) # try to guess if(TARGET ${dep}::${dep}) diff --git a/cmake/FairMQSummary.cmake b/cmake/FairMQSummary.cmake index 68eab32c..77e5bc5c 100644 --- a/cmake/FairMQSummary.cmake +++ b/cmake/FairMQSummary.cmake @@ -33,12 +33,6 @@ macro(fairmq_summary_components) set(examples_summary "${BRed} NO${CR} (enable with ${BMagenta}-DBUILD_EXAMPLES=ON${CR})") endif() message(STATUS " ${BWhite}examples${CR} ${examples_summary}") - if(BUILD_DOCS) - set(docs_summary "${BGreen}YES${CR} (disable with ${BMagenta}-DBUILD_DOCS=OFF${CR})") - else() - set(docs_summary "${BRed} NO${CR} (default, enable with ${BMagenta}-DBUILD_DOCS=ON${CR})") - endif() - message(STATUS " ${BWhite}docs${CR} ${docs_summary}") if(BUILD_TIDY_TOOL) set(sdk_tidy_summary "${BGreen}YES${CR} EXPERIMENTAL (disable with ${BMagenta}-DBUILD_TIDY_TOOL=OFF${CR})") else() diff --git a/docs/footer.html b/docs/footer.html deleted file mode 100644 index 728c68be..00000000 --- a/docs/footer.html +++ /dev/null @@ -1 +0,0 @@ -

privacy