Serd subproject with meson
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

17 lines
457 B

docdir = get_option('datadir') / 'doc'
doxygen = find_program('doxygen', required: get_option('docs'))
dox_to_sphinx = find_program('../scripts/dox_to_sphinx.py')
sphinx_build = find_program('sphinx-build', required: get_option('docs'))
build_docs = doxygen.found() and sphinx_build.found()
if build_docs
subdir('_static')
subdir('c')
endif
if meson.version().version_compare('>=0.53.0')
summary('Documentation', build_docs, bool_yn: true)
endif