Skip to content

Instantly share code, notes, and snippets.

@BCadet
Last active October 6, 2022 06:31
Show Gist options
  • Save BCadet/47fd577db03531dbc1b81b9682722d58 to your computer and use it in GitHub Desktop.
Save BCadet/47fd577db03531dbc1b81b9682722d58 to your computer and use it in GitHub Desktop.
Doxygen CMake variables to build the liblightmodbus documentation : https://github.com/Jacajack/liblightmodbus
set(DOXYGEN_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/documentation/liblightmodbus")
set(DOXYGEN_GENERATE_TAGFILE "${CMAKE_BINARY_DIR}/documentation/liblightmodbus.tag")
set(DOXYGEN_PROJECT_NAME "liblightmodbus - a lightweight, header-only, hardware-agnostic Modbus RTU/TCP library")
set(DOXYGEN_PROJECT_BRIEF "A lightweight, header-only, hardware-agnostic Modbus RTU/TCP library")
set(DOXYGEN_PROJECT_NUMBER 3.0)
set(DOXYGEN_OPTIMIZE_OUTPUT_FOR_C YES)
set(DOXYGEN_EXCLUDE_PATTERNS "*/doc/doxygen-awesome-css/*")
set(DOXYGEN_RECURSIVE YES)
set(DOXYGEN_ENABLE_PREPROCESSING YES)
set(DOXYGEN_MACRO_EXPANSION YES )
set(DOXYGEN_EXPAND_ONLY_PREDEF NO)
set(DOXYGEN_EXTRACT_STATIC YES)
set(DOXYGEN_EXTRACT_ALL YES)
set(DOXYGEN_CALL_GRAPH YES)
set(DOXYGEN_CALLER_GRAPH YES)
set(DOXYGEN_HAVE_DOT YES)
set(DOXYGEN_DOT_IMAGE_FORMAT svg)
set(DOXYGEN_DOT_TRANSPARENT YES)
set(DOXYGEN_HTML_DYNAMIC_SECTIONS YES)
set(DOXYGEN_GENERATE_TREEVIEW YES)
set(DOXYGEN_HTML_COLORSTYLE_HUE 209)
set(DOXYGEN_HTML_COLORSTYLE_SAT 255)
set(DOXYGEN_HTML_COLORSTYLE_GAMMA 113)
set(DOXYGEN_HTML_EXTRA_STYLESHEET ${liblightmodbus_SOURCE_DIR}/doc/doxygen-awesome-css/doxygen-awesome.css ${liblightmodbus_SOURCE_DIR}/doc/custom.css)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment