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.
12 lines
302 B
12 lines
302 B
5 years ago
|
project('lib1', ['c'])
|
||
|
|
||
|
c_args = []
|
||
|
|
||
|
# Microsoft's compiler is quite smart about touching import libs on changes,
|
||
|
# so ensure that there is actually a change in symbols.
|
||
|
if get_option('more_exports')
|
||
|
c_args += '-DMORE_EXPORTS'
|
||
|
endif
|
||
|
|
||
|
a = library('test-lib', 'lib.c', c_args: c_args, install: true)
|