From bc4b359747466f760f8861dad6d99d7005ff6a04 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 23 Oct 2022 13:41:54 -0400 Subject: Build reference documentation --- meson.build | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'meson.build') diff --git a/meson.build b/meson.build index 5d5eaa7..0e0afac 100644 --- a/meson.build +++ b/meson.build @@ -12,6 +12,7 @@ project('zix', ['c'], 'cpp_std=c++17', ]) +zix_src_root = meson.current_source_dir() major_version = meson.project_version().split('.')[0] version_suffix = '-@0@'.format(major_version) versioned_name = 'zix' + version_suffix @@ -521,8 +522,16 @@ if not get_option('benchmarks').disabled() endif endif +############################# +# Scripts and Documentation # +############################# + subdir('scripts') +if not get_option('docs').disabled() + subdir('doc') +endif + if not meson.is_subproject() summary('Benchmarks', build_benchmarks, bool_yn: true) summary('Tests', not get_option('tests').disabled(), bool_yn: true) -- cgit v1.2.1