summaryrefslogtreecommitdiffstats
path: root/eel/meson.build
blob: e5fa7465dc1bf09c928a485c3dc5ff3ed65178dd (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
libeel_2_sources = [
  '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-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 = [
  config_h,
  glib,
  gtk,
  libm
]

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('tests') == 'all'
  test('check-eel', check_eel)
endif