mirror of
https://github.com/ThrowTheSwitch/Unity.git
synced 2026-01-23 00:15:58 +01:00
The main project doesn't really have any specific version requirement. Specify a very low one just in case -- 0.37.0 is old enough to cover probably any existing use of Meson anywhere in the wild, and coincidentally is also the version that Meson started adding feature warnings for, to notify you if you use too-new features. The example *does* depend on a specific version. It needs 0.55.0 in order to use subproject wrap dependency fallback instead of the legacy style of specifying the name of the variable as a fallback. Ensure that is used.
13 lines
345 B
Meson
13 lines
345 B
Meson
#
|
|
# build script written by : Michael Gene Brockus.
|
|
# github repo author: Mike Karlesky, Mark VanderVoord, Greg Williams.
|
|
#
|
|
# license: MIT
|
|
#
|
|
project('unity', 'c',
|
|
meson_version: '>=0.37.0',
|
|
default_options: ['werror=true', 'c_std=c11'])
|
|
|
|
subdir('src')
|
|
unity_dep = declare_dependency(link_with: unity_lib, include_directories: unity_dir)
|