meson.build 502 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14
if not is_darwin
  apple_dep = dependency('', required: false)
  subdir_done()
endif

audiounit_dep = declare_dependency(
  link_args: ['-framework', 'AudioUnit', '-framework', 'CoreAudio', '-framework', 'CoreServices'],
  dependencies: [
    boost_dep,
  ],
)

apple = static_library(
  'apple',
15
  'AudioObject.cxx',
16 17 18 19 20 21 22 23 24 25 26 27 28
  'Throw.cxx',
  include_directories: inc,
  dependencies: [
    audiounit_dep,
  ],
)

apple_dep = declare_dependency(
  link_with: apple,
  dependencies: [
    audiounit_dep,
  ],
)