Skip to content

Commit

Permalink
doc: reuse Doxyfile for meson
Browse files Browse the repository at this point in the history
  • Loading branch information
mochaaP committed Sep 15, 2024
1 parent c6f9b20 commit 8e0f4cc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 14 deletions.
14 changes: 1 addition & 13 deletions Doxyfile.meson.in
Original file line number Diff line number Diff line change
@@ -1,26 +1,14 @@
PROJECT_NAME = Zydis
@INCLUDE = "@TOP_SRCDIR@/Doxyfile"
PROJECT_NUMBER = @VERSION@
PROJECT_BRIEF = "Zyan Disassembler Library"
OUTPUT_DIRECTORY = "@TOP_BUILDDIR@/doc"
STRIP_FROM_PATH = "@TOP_SRCDIR@"
STRIP_FROM_INC_PATH = "@ZYCORE_INCLUDE_PATH@"
JAVADOC_AUTOBRIEF = YES
QT_AUTOBRIEF = YES
OPTIMIZE_OUTPUT_FOR_C = YES
TOC_INCLUDE_HEADINGS = 0
EXTRACT_ALL = YES
EXTRACT_LOCAL_CLASSES = NO
HIDE_SCOPE_NAMES = YES
INPUT = "@TOP_SRCDIR@/include" \
"@TOP_SRCDIR@/README.md" \
"@TOP_SRCDIR@/files.dox"
RECURSIVE = YES
EXAMPLE_PATH = "@TOP_SRCDIR@/examples"
USE_MDFILE_AS_MAINPAGE = "@TOP_SRCDIR@/README.md"
GENERATE_TREEVIEW = YES
USE_MATHJAX = YES
MATHJAX_VERSION = MathJax_3
GENERATE_LATEX = NO
MACRO_EXPANSION = YES
EXPAND_ONLY_PREDEF = YES
INCLUDE_PATH = "@ZYCORE_INCLUDE_PATH@"
Expand Down
2 changes: 1 addition & 1 deletion meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ if doc_req
input: doxyfile,
output: 'doc',
command: [doxygen_exe, doxyfile],
depend_files: [hdrs],
depend_files: [hdrs, files('Doxyfile')],
install: true,
install_dir: datadir / 'doc' / 'Zydis',
)
Expand Down

0 comments on commit 8e0f4cc

Please sign in to comment.