start building doxygen documentation
This commit is contained in:
parent
1d5870f025
commit
9e6772cb59
2661
doc/doxygen.conf.in
Normal file
2661
doc/doxygen.conf.in
Normal file
File diff suppressed because it is too large
Load Diff
16
doc/meson.build
Normal file
16
doc/meson.build
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
cdata.set('TOP_SRCDIR', meson.source_root())
|
||||||
|
cdata.set('TOP_BUILDDIR', meson.build_root())
|
||||||
|
|
||||||
|
doxyfile = configure_file(input: 'doxygen.conf.in',
|
||||||
|
output: 'doxygen.conf',
|
||||||
|
configuration: cdata,
|
||||||
|
install: false)
|
||||||
|
|
||||||
|
datadir = join_paths(get_option('datadir'), 'doc', 'obelisk')
|
||||||
|
|
||||||
|
html_target = custom_target('obelisk-docs',
|
||||||
|
input: doxyfile,
|
||||||
|
output: 'html',
|
||||||
|
command: [doxygen, doxyfile],
|
||||||
|
install: true,
|
||||||
|
install_dir: datadir)
|
16
meson.build
16
meson.build
@ -8,4 +8,20 @@ project('obelisk',
|
|||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
|
||||||
|
doxygen = find_program('doxygen', required : false)
|
||||||
|
if not doxygen.found()
|
||||||
|
error('MESON_SKIP_TEST doxygen not found.')
|
||||||
|
endif
|
||||||
|
|
||||||
|
cdata = configuration_data()
|
||||||
|
cdata.set('VERSION', meson.project_version())
|
||||||
|
|
||||||
|
if find_program('dot', required : false).found()
|
||||||
|
cdata.set('HAVE_DOT', 'YES')
|
||||||
|
else
|
||||||
|
cdata.set('HAVE_DOT', 'NO')
|
||||||
|
endif
|
||||||
|
|
||||||
|
subdir('doc')
|
||||||
|
|
||||||
subdir('src')
|
subdir('src')
|
||||||
|
Loading…
Reference in New Issue
Block a user