aboutsummaryrefslogtreecommitdiff
path: root/test cases/common/121 extract all shared library/meson.build
blob: 7c24fdeebbda3eb4f69a2104a5f6f912c8ba8a3c (plain)
1
2
3
4
5
6
7
8
9
10
project('extract all', 'c', 'cpp')

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)