The Meson Build System
http://mesonbuild.com/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
455 B
15 lines
455 B
5 years ago
|
project('extract all', 'c', 'cpp')
|
||
|
|
||
4 years ago
|
if meson.backend() == 'xcode'
|
||
|
error('MESON_SKIP_TEST: Xcode backend does not handle libraries with only objects, not sources.')
|
||
|
endif
|
||
|
|
||
5 years ago
|
a = static_library('a', 'one.c', 'two.c')
|
||
|
b = static_library('b', 'three.c', 'four.c')
|
||
|
c = shared_library('c',
|
||
|
objects : [a.extract_all_objects(), b.extract_all_objects()],
|
||
|
vs_module_defs : 'func1234.def')
|
||
|
|
||
|
e = executable('proggie', 'prog.c', link_with : c)
|
||
|
test('extall', e)
|