forked from GNOME/gimp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmeson.build
76 lines (67 loc) · 1.53 KB
/
meson.build
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
libgimpcolor_sources = files(
'gimpadaptivesupersample.c',
'gimpbilinear.c',
'gimpcairo.c',
'gimpcmyk.c',
'gimpcolormanaged.c',
'gimpcolorprofile.c',
'gimpcolorspace.c',
'gimpcolortransform.c',
'gimphsl.c',
'gimphsv.c',
'gimppixbuf.c',
'gimprgb-parse.c',
'gimprgb.c',
)
libgimpcolor_headers_introspectable = files(
'gimpcolortypes.h',
'gimpadaptivesupersample.h',
'gimpbilinear.h',
'gimpcairo.h',
'gimpcmyk.h',
'gimpcolormanaged.h',
'gimpcolorprofile.h',
'gimpcolorspace.h',
'gimpcolortransform.h',
'gimphsl.h',
'gimphsv.h',
'gimppixbuf.h',
'gimprgb.h',
)
libgimpcolor_headers = [
libgimpcolor_headers_introspectable,
'gimpcolor.h',
]
libgimpcolor_introspectable = [
libgimpcolor_sources,
libgimpcolor_headers_introspectable,
]
libgimpcolor = library('gimpcolor-' + gimp_api_version,
libgimpcolor_sources,
include_directories: rootInclude,
dependencies: [
cairo, gdk_pixbuf, gegl, lcms, math,
],
c_args: [ '-DG_LOG_DOMAIN="LibGimpColor"', '-DGIMP_COLOR_COMPILATION', ],
link_with: [ libgimpbase, ],
vs_module_defs: 'gimpcolor.def',
install: true,
version: so_version,
)
install_headers(
libgimpcolor_headers,
subdir: gimp_api_name / 'libgimpcolor',
)
# Test program, not installed
executable('test-color-parser',
'test-color-parser.c',
include_directories: rootInclude,
dependencies: [
cairo, gdk_pixbuf, gegl, lcms, math,
babl,
# glib,
],
c_args: '-DG_LOG_DOMAIN="LibGimpColor"',
link_with: [ libgimpbase, libgimpcolor, ],
install: false,
)