meson.build 347 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
yajl_dep = dependency('yajl', required: get_option('yajl'))
if not yajl_dep.found()
  subdir_done()
endif

yajl = static_library(
  'yajl',
  'ResponseParser.cxx',
  'ParseInputStream.cxx',
  include_directories: inc,
  dependencies: [
    yajl_dep,
  ],
)

yajl_dep = declare_dependency(
  link_with: yajl,
  dependencies: [
    yajl_dep,
  ],
)