test cases/unit/29 guessed linker dependencies/lib/meson.build
raw| 1 | project('lib1', ['c']) |
| 2 | |
| 3 | c_args = [] |
| 4 | |
| 5 | # Microsoft's compiler is quite smart about touching import libs on changes, |
| 6 | # so ensure that there is actually a change in symbols. |
| 7 | if get_option('more_exports') |
| 8 | c_args += '-DMORE_EXPORTS' |
| 9 | endif |
| 10 | |
| 11 | a = library('test-lib', 'lib.c', c_args: c_args, install: true) |