forked from AuroraMiddleware/gtk
meson: gtk: install headers
This commit is contained in:
parent
c7d3fe5e26
commit
bdfcfdec57
@ -107,3 +107,4 @@ a11y_headers = files([
|
||||
'gtkwidgetaccessible.h',
|
||||
'gtkwindowaccessible.h',
|
||||
])
|
||||
install_headers(a11y_headers, subdir : 'gtk-4.0/gtk/a11y')
|
||||
|
@ -1,3 +1,5 @@
|
||||
gtk_deprecated_sources = files([])
|
||||
|
||||
gtk_deprecated_headers = files([])
|
||||
|
||||
install_headers(gtk_deprecated_headers, subdir: 'gtk-4.0/gtk/deprecated/')
|
||||
|
@ -595,6 +595,8 @@ gtk_public_headers = files([
|
||||
'gtkwindowgroup.h',
|
||||
])
|
||||
|
||||
install_headers(gtk_public_headers, subdir: 'gtk-4.0/gtk/')
|
||||
|
||||
gtk_unix_sources = files([
|
||||
'gtkcustompaperunixdialog.c',
|
||||
'gtkpagesetupunixdialog.c',
|
||||
@ -668,7 +670,7 @@ gtktypebuiltins_h = custom_target(
|
||||
input : gtk_public_headers + gtk_deprecated_headers,
|
||||
command : [mkenum, perl, glib_mkenums, meson.current_source_dir() + '/gtktypebuiltins.h.template', '@OUTPUT@', '@INPUT@'],
|
||||
install: true,
|
||||
install_dir: 'include/gtk-4.0/gtk/' # XXX ???
|
||||
install_dir: 'include/gtk-4.0/gtk/'
|
||||
)
|
||||
|
||||
gtktypebuiltins_c = custom_target(
|
||||
@ -716,7 +718,7 @@ gtkversion = configure_file(
|
||||
input : 'gtkversion.h.in',
|
||||
output : 'gtkversion.h',
|
||||
configuration: cdata,
|
||||
install_dir: 'include/gtk-4.0/gtk/' # XXX ???
|
||||
install_dir: 'include/gtk-4.0/gtk/'
|
||||
)
|
||||
|
||||
gtk_cargs = [
|
||||
@ -787,13 +789,6 @@ endif
|
||||
|
||||
gnome.compile_schemas()
|
||||
|
||||
|
||||
# Install necessary headers
|
||||
|
||||
# install_headers(gtk_public_headers, subdir: 'gtk-3.0/gtk/')
|
||||
# install_headers(gtk_deprecated_headers, subdir: 'gtk-3.0/gtk/deprecated/')
|
||||
# install_headers(a11y_headers, subdir: 'gtk-3.0/gtk/a11y/')
|
||||
|
||||
libgtk = shared_library('gtk',
|
||||
sources: [typefuncs, gtk_sources, gtkmarshal_h, gtkprivatetypebuiltins_h],
|
||||
c_args: gtk_cargs,
|
||||
|
Loading…
Reference in New Issue
Block a user