mirror of
https://github.com/ThrowTheSwitch/Unity.git
synced 2026-08-24 03:59:57 +00:00
Added option with_examples and version info.
This commit is contained in:
@@ -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(
|
|||||||
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
|
||||||
Reference in New Issue
Block a user