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
334 B
10 lines
334 B
4 years ago
|
project('sub1', 'c',
|
||
|
default_options : ['warning_level=0'])
|
||
5 years ago
|
|
||
|
assert(get_option('default_library') == 'both', 'Should inherit parent project default_library')
|
||
4 years ago
|
assert(get_option('warning_level') == '0')
|
||
5 years ago
|
|
||
|
# Check it build both by calling a method only both_libraries target implement
|
||
|
lib = library('lib1', 'foo.c')
|
||
|
lib.get_static_lib()
|