blob: 286aaa19119754b4482b0fc442632bf99b2dffe2 (
plain)
1
2
3
4
5
6
7
8
9
|
project('extract subproject object', 'c')
sub = subproject('sub_project')
lib = sub.get_variable('lib')
exe = executable('exe', 'main.c',
objects : lib.extract_objects('sub_lib.c'))
test('extraction test', exe)
|