Debian Codegraph @

test cases/common/272 unity/meson.build

raw
1 project('unity', 'c',
2 default_options : [
3 'unity_size=2'])
4
5 if get_option('unity') != 'on'
6 error('MESON_SKIP_TEST: unity builds not enabled')
7 endif
8
9 slib_notinstalled = static_library('slib_notinstalled',
10 # test depends on the number of files being divisible by unity_size
11 ['slib1.c', 'slib2.c'])
12
13 slib_installed = static_library('slib_installed', ['slib1.c', 'slib2.c'], link_with : slib_notinstalled, install : true)