mirror of
https://gitlab.gnome.org/GNOME/libmks.git
synced 2024-12-22 05:35:21 +00:00
build/gi: Split generated sources to public/private
Since the switch to manual-register for gresources, the generated functions were exposed in the gir file which is something we don't want
This commit is contained in:
parent
058c1f4fb0
commit
414b26fcd9
@ -102,17 +102,23 @@ libmks_gresources = gnome.compile_resources(
|
|||||||
|
|
||||||
libmks_generated_sources = [
|
libmks_generated_sources = [
|
||||||
libmks_enums[0],
|
libmks_enums[0],
|
||||||
libmks_gresources[0],
|
|
||||||
libmks_marshal[0],
|
libmks_marshal[0],
|
||||||
]
|
]
|
||||||
|
|
||||||
|
libmks_private_generated_sources = [
|
||||||
|
libmks_gresources[0],
|
||||||
|
]
|
||||||
|
|
||||||
libmks_generated_headers = [
|
libmks_generated_headers = [
|
||||||
mks_version_h,
|
mks_version_h,
|
||||||
libmks_enums[1],
|
libmks_enums[1],
|
||||||
libmks_gresources[1],
|
|
||||||
libmks_marshal[1],
|
libmks_marshal[1],
|
||||||
]
|
]
|
||||||
|
|
||||||
|
libmks_private_generated_headers = [
|
||||||
|
libmks_gresources[1],
|
||||||
|
]
|
||||||
|
|
||||||
libmks_deps = [
|
libmks_deps = [
|
||||||
libepoxy_dep,
|
libepoxy_dep,
|
||||||
libgio_dep,
|
libgio_dep,
|
||||||
@ -126,6 +132,8 @@ libmks = shared_library('mks-' + api_version,
|
|||||||
libmks_generated_headers +
|
libmks_generated_headers +
|
||||||
libmks_generated_sources +
|
libmks_generated_sources +
|
||||||
libmks_private_sources +
|
libmks_private_sources +
|
||||||
|
libmks_private_generated_sources +
|
||||||
|
libmks_private_generated_headers +
|
||||||
libmks_sources,
|
libmks_sources,
|
||||||
include_directories: libmks_include_directories,
|
include_directories: libmks_include_directories,
|
||||||
dependencies: libmks_deps,
|
dependencies: libmks_deps,
|
||||||
|
Loading…
Reference in New Issue
Block a user