summaryrefslogtreecommitdiff
path: root/gvdb/meson.build
blob: 1a1aba8dffb4be2a16ff8c2b7dbb716044e8853e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
gvdb_builder = files('gvdb-builder.c')

sources = gvdb_builder + files('gvdb-reader.c')

gvdb_deps = [
  gio_dep,
  glib_dep,
]

cflags = [
  '-DG_LOG_DOMAIN="gvdb (via dconf)"',
  '-DG_LOG_USE_STRUCTURED=1',
]

libgvdb = static_library(
  'gvdb',
  sources: sources,
  include_directories: top_inc,
  dependencies: gvdb_deps,
  c_args: cflags,
  pic: true,
)

libgvdb_dep = declare_dependency(
  dependencies: gvdb_deps,
  link_with: libgvdb,
)