2017-03-20 12:18:15 +00:00
|
|
|
# FIXME: do we need to do an add_language() for objective-c here?
|
|
|
|
gdk_quartz_sources = files([
|
|
|
|
'GdkQuartzView.c',
|
|
|
|
'GdkQuartzNSWindow.c',
|
2018-04-12 14:48:31 +00:00
|
|
|
'gdkcairocontext-quartz.c',
|
2017-03-20 12:18:15 +00:00
|
|
|
'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',
|
2018-03-20 10:46:11 +00:00
|
|
|
'gdksurface-quartz.c',
|
2017-03-20 12:18:15 +00:00
|
|
|
])
|
|
|
|
|
|
|
|
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',
|
2018-03-20 10:46:11 +00:00
|
|
|
'gdkquartzsurface.h',
|
2017-03-20 12:18:15 +00:00
|
|
|
])
|
|
|
|
|
|
|
|
install_headers(gdk_quartz_public_headers, subdir: 'gtk-4.0/gdk/quartz/')
|
|
|
|
install_headers('gdkquartz.h', subdir: 'gtk-4.0/gdk/')
|
|
|
|
|
|
|
|
gdk_quartz_deps = [ # FIXME
|
|
|
|
]
|
|
|
|
|
2017-03-30 23:15:08 +00:00
|
|
|
libgdk_quartz = static_library('gdk-quartz',
|
2017-03-20 12:18:15 +00:00
|
|
|
gdk_quartz_sources, gdkconfig, gdkenum_h,
|
|
|
|
include_directories: [confinc, gdkinc],
|
|
|
|
c_args: ['-DGDK_COMPILATION', '-DG_LOG_DOMAIN="Gdk"', '-xobjective-c'],
|
|
|
|
dependencies: [gdk_deps, gdk_quartz_deps])
|