vendored-meson/meson/test cases/osx/6 multiframework/meson.build
raw| 1 | project('multiframework', 'objc') |
| 2 | |
| 3 | # In theory only 'AppKit' would be enough but there was a bug |
| 4 | # that causes a build failure when defining two modules. The |
| 5 | # arguments for the latter module overwrote the arguments for |
| 6 | # the first one rather than adding to them. |
| 7 | cocoa_dep = dependency('appleframeworks', modules : ['AppKit', 'Foundation']) |
| 8 | |
| 9 | executable('deptester', |
| 10 | 'main.m', |
| 11 | objc_args : ['-fobjc-arc'], |
| 12 | dependencies : [cocoa_dep], |
| 13 | ) |