summaryrefslogtreecommitdiff
path: root/eel/meson.build
blob: 3bca16fdec406bbcab7bec0b8521acb4abdd38f2 (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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
libeel_2_sources = [
  'eel-accessibility.h',
  'eel-accessibility.c',
  'eel-art-extensions.h',
  'eel-art-extensions.c',
  'eel-canvas.h',
  'eel-canvas.c',
  'eel-debug.h',
  'eel-debug.c',
  'eel-glib-extensions.h',
  'eel-glib-extensions.c',
  'eel-graphic-effects.h',
  'eel-graphic-effects.c',
  'eel-gtk-extensions.h',
  'eel-self-checks.h',
  'eel-self-checks.c',
  'eel-stock-dialogs.h',
  'eel-stock-dialogs.c',
  'eel-string.h',
  'eel-string.c',
  'eel-vfs-extensions.h',
  'eel-vfs-extensions.c',
  'eel.h',
  'eel-gtk-extensions.c',
  'eel-lib-self-check-functions.h',
  'eel-lib-self-check-functions.c',
]

libeel_2_deps = [
  gail,
  glib,
  gtk,
  libm,
  x11
]

libeel_2 = static_library(
  'eel-2',
  libeel_2_sources,
  dependencies: libeel_2_deps,
  include_directories: nautilus_include_dirs
)

eel_2 = declare_dependency(
  link_with: libeel_2,
  include_directories: nautilus_include_dirs,
  dependencies: libeel_2_deps
)

check_eel = executable(
  'check-eel',
  'check-program.c',
  dependencies: [
    eel_2,
    xml
  ]
)

if get_option('display-tests')
  test('check-eel', check_eel)
endif