summaryrefslogtreecommitdiff
path: root/gdk/quartz/meson.build
blob: 37c3ef2cf6542d0e552539bcdc778837227457a9 (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
# FIXME: do we need to do an add_language() for objective-c here?
gdk_quartz_sources = files([
  'GdkQuartzView.c',
  'GdkQuartzNSWindow.c',
  'gdkcairocontext-quartz.c',
  'gdkcursor-quartz.c',
  'gdkdevice-core-quartz.c',
  'gdkdevicemanager-core-quartz.c',
  'gdkdisplay-quartz.c',
  'gdkdisplaymanager-quartz.c',
  'gdkdnd-quartz.c',
  'gdkevents-quartz.c',
  'gdkeventloop-quartz.c',
  'gdkglcontext-quartz.c',
  'gdkglobals-quartz.c',
  'gdkkeys-quartz.c',
  'gdkscreen-quartz.c',
  'gdkselection-quartz.c',
  'gdkutils-quartz.c',
  'gdksurface-quartz.c',
])

gdk_quartz_public_headers = files([
  'gdkquartzcursor.h',
  'gdkquartzdevice-core.h',
  'gdkquartzdevicemanager-core.h',
  'gdkquartzdisplay.h',
  'gdkquartzdisplaymanager.h',
  'gdkquartzdnd.h',
  'gdkquartzkeys.h',
  'gdkquartzscreen.h',
  'gdkquartzutils.h',
  'gdkquartzsurface.h',
])

install_headers(gdk_quartz_public_headers, 'gdkquartz.h', subdir: 'gtk-4.0/gdk/quartz/')

gdk_quartz_deps = [ # FIXME
]

libgdk_quartz = static_library('gdk-quartz',
  gdk_quartz_sources, gdkconfig, gdkenum_h,
  include_directories: [confinc, gdkinc],
  c_args: ['-DGTK_COMPILATION', '-DG_LOG_DOMAIN="Gdk"', '-xobjective-c'],
  dependencies: [gdk_deps, gdk_quartz_deps])