parent
e5b59ac9e9
commit
3500ddb8bb
2 changed files with 15 additions and 5 deletions
@ -1,7 +1,11 @@ |
||||
project('object extraction', 'c') |
||||
|
||||
lib = shared_library('somelib', 'lib.c') |
||||
obj = lib.extract_objects('lib.c') |
||||
if meson.is_unity() |
||||
message('Skipping extraction test because this is a Unity build.') |
||||
else |
||||
lib = shared_library('somelib', 'lib.c') |
||||
obj = lib.extract_objects('lib.c') |
||||
|
||||
e = executable('main', 'main.c', objects : obj) |
||||
test('extraction test', e) |
||||
e = executable('main', 'main.c', objects : obj) |
||||
test('extraction test', e) |
||||
endif |
||||
|
Loading…
Reference in new issue