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
34
35
36
37
38
39
40
41
42
43
44
45
46
|
testable_sources = files(
'dconf-engine.c',
'dconf-engine-profile.c',
'dconf-engine-source.c',
'dconf-engine-source-file.c',
'dconf-engine-source-user.c',
'dconf-engine-source-service.c',
'dconf-engine-source-system.c',
)
sources = testable_sources + files(
'dconf-engine-mockable.c',
)
engine_deps = [
libdconf_common_dep,
libgvdb_dep,
]
libdconf_engine = static_library(
'dconf-engine',
sources: sources,
include_directories: top_inc,
dependencies: engine_deps + [libdconf_shm_dep],
c_args: dconf_c_args,
pic: true,
)
libdconf_engine_dep = declare_dependency(
dependencies: engine_deps,
link_with: libdconf_engine,
)
libdconf_engine_test = static_library(
'dconf-engine-test',
sources: testable_sources,
include_directories: top_inc,
dependencies: engine_deps + [libdconf_shm_dep],
c_args: dconf_c_args,
pic: true,
)
libdconf_engine_test_dep = declare_dependency(
dependencies: engine_deps,
link_with: libdconf_engine_test,
)
|