summaryrefslogtreecommitdiff
path: root/common/meson.build
blob: e736ea862ba50968e0811d24f29f580b3c7b4716 (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
28
29
30
31
32
33
common_inc = include_directories('.')

headers = files(
  'dconf-changeset.h',
  'dconf-enums.h',
  'dconf-paths.h',
)

install_headers(
  headers,
  subdir: join_paths('dconf', 'common'),
)

sources = files(
  'dconf-changeset.c',
  'dconf-error.c',
  'dconf-paths.c',
  'dconf-gvdb-utils.c',
)

libdconf_common = static_library(
  'dconf-common',
  sources: sources,
  include_directories: top_inc,
  dependencies: [glib_dep, libgvdb_dep],
  c_args: dconf_c_args,
  pic: true,
)

libdconf_common_dep = declare_dependency(
  dependencies: [glib_dep, libgvdb_dep],
  link_with: libdconf_common,
)