summaryrefslogtreecommitdiff
path: root/shm/meson.build
blob: 01ced5555fd09457d6ffb9fe7b5e969c5a173f5f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
name = meson.project_name() + '-shm'

sources = files('dconf-shm.c')

cflags = '-DG_LOG_DOMAIN="@0@"'.format(meson.project_name())

libdconf_shm = static_library(
  name,
  sources: sources,
  include_directories: top_inc,
  dependencies: glib_dep,
  c_args: cflags
)

libdconf_shm_shared = static_library(
  name + '-shared',
  sources: sources,
  include_directories: top_inc,
  dependencies: glib_dep,
  c_args: cflags,
  pic: true
)