1
0
mirror of https://github.com/ThrowTheSwitch/Unity.git synced 2026-01-23 00:15:58 +01:00

Merge pull request #619 from eli-schwartz/meson-cleanup

Meson cleanup
This commit is contained in:
Mark VanderVoord
2022-06-19 15:31:37 -04:00
committed by GitHub
3 changed files with 6 additions and 5 deletions

View File

@@ -4,7 +4,7 @@
#
# license: MIT
#
project('example-4', 'c')
project('example-4', 'c', meson_version: '>= 0.55.0')
unity_dep = dependency('unity')

View File

@@ -9,5 +9,5 @@ cases = [
['TestProductionCode2_Runner.c', join_paths('..' ,'TestProductionCode2.c')]
]
test('Running: 01-test-case', executable('01-test-case', cases[0], dependencies: [ a_dep, unity_dep ]))
test('Running: 02-test-case', executable('02-test-case', cases[1], dependencies: [ b_dep, unity_dep ]))
test('01-test-case', executable('01-test-case', cases[0], dependencies: [ a_dep, unity_dep ]))
test('02-test-case', executable('02-test-case', cases[1], dependencies: [ b_dep, unity_dep ]))

View File

@@ -5,7 +5,8 @@
# license: MIT
#
project('unity', 'c',
meson_version: '>=0.62.0',
license: 'MIT',
meson_version: '>=0.37.0',
default_options: ['werror=true', 'c_std=c11'])
subdir('src')