Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Build docset for LLVM/Clang

Build LLVM/Clang Docset

  1. Modify LLVM/Clang doxygen.config.in

    • GENERATE_DOCSET = YES
    • DISABLE_INDEX = YES
    • SEARCHENGINE = NO
    • GENERATE_TREEVIEW = NO
    • GENERATE_TAGFILE =
      • LLVM: @abs_top_builddir@/doxygen/llvm(clang).tag
      • Clang: @abs_builddir@/doxygen/llvm(clang).tag
    • Disable dot, optional (all options with "_GRAPH" suffix)
  2. CMake:

    • LLVM_ENABLE_DOXYGEN
    • LLVM_INCLUDE_DOCS
    • CLANG_INCLUDE_DOCS
  3. make

    • make doxygen-llvm(clang)
    • cd doxygen/html && make
    • git clone doxytag2zealdb
  4. Zealdoc

Reference:

  1. https://kapeli.com/docsets#doxygen
  2. https://gitlab.com/vedvyas/doxytag2zealdb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment