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.
10 lines
216 B
10 lines
216 B
5 years ago
|
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)
|