aboutsummaryrefslogtreecommitdiff
path: root/test cases/common/107 extract same name/meson.build
blob: 0bfbb4d0e16293bc1a492ef424fa99a4c12890d8 (plain)
1
2
3
4
5
6
7
project('object extraction', 'c')

lib = shared_library('somelib', ['lib.c', 'src/lib.c'])
# Also tests that the object list is flattened properly
obj = lib.extract_objects(['lib.c', ['src/lib.c']])
exe = executable('main', 'main.c', objects: obj)
test('extraction', exe)