提交 b1fd5ad8 编写于 作者: M Michael Brockus

Added option with_examples and version info.

上级 ab9f8d09
...@@ -12,6 +12,7 @@ ...@@ -12,6 +12,7 @@
project('unity', 'c', project('unity', 'c',
version : '2.4.3',
license : 'MIT', license : 'MIT',
meson_version : '>=0.50.0', meson_version : '>=0.50.0',
default_options : default_options :
...@@ -77,3 +78,8 @@ unity_dep = declare_dependency( ...@@ -77,3 +78,8 @@ unity_dep = declare_dependency(
version: meson.project_version(), version: meson.project_version(),
link_with: unity_lib, link_with: unity_lib,
include_directories: unity_dir) include_directories: unity_dir)
if get_option('with_examples').enabled()
subdir('examples')
endif
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册