Skip to content

Instantly share code, notes, and snippets.

@sighingnow
Last active March 27, 2019 09:38
Show Gist options
  • Save sighingnow/50a968638403b888b1eff90c30238f70 to your computer and use it in GitHub Desktop.
Save sighingnow/50a968638403b888b1eff90c30238f70 to your computer and use it in GitHub Desktop.
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