summaryrefslogtreecommitdiff
path: root/test cases/osx/6 multiframework/meson.build
blob: 57e5d61560ba8f8cf651e0e3b7d56a597b439b7e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
project('multiframework', 'objc')

# In theory only 'AppKit' would be enough but there was a bug
# that causes a build failure when defining two modules. The
# arguments for the latter module overwrote the arguments for
# the first one rather than adding to them.
cocoa_dep = dependency('appleframeworks', modules : ['AppKit', 'Foundation'])

executable('deptester',
  'main.m',
  objc_args : ['-fobjc-arc'],
  dependencies : [cocoa_dep],
)