From b1fd5ad887cebf96b61c2feb9e144c79168a085d Mon Sep 17 00:00:00 2001 From: Michael Brockus Date: Wed, 3 Jul 2019 15:31:26 -0700 Subject: [PATCH] Added option with_examples and version info. --- meson.build | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/meson.build b/meson.build index 0c6a344..68f081b 100644 --- a/meson.build +++ b/meson.build @@ -12,6 +12,7 @@ project('unity', 'c', + version : '2.4.3', license : 'MIT', meson_version : '>=0.50.0', default_options : @@ -77,3 +78,8 @@ unity_dep = declare_dependency( version: meson.project_version(), link_with: unity_lib, include_directories: unity_dir) + + +if get_option('with_examples').enabled() + subdir('examples') +endif \ No newline at end of file