2017-11-01 21:27:13 +08:00
|
|
|
|
2022-08-02 01:08:35 +08:00
|
|
|
stamp_config_enums = custom_target('stamp-gimpconfigenums.h',
|
|
|
|
input : [
|
|
|
|
files(
|
|
|
|
'gimpconfigenums.h'
|
|
|
|
),
|
|
|
|
],
|
|
|
|
output: [ 'stamp-gimpconfigenums.h', ],
|
2017-11-01 21:27:13 +08:00
|
|
|
command: [
|
2022-08-02 01:08:35 +08:00
|
|
|
mkenums_wrap, perl,
|
2022-08-31 07:07:27 +08:00
|
|
|
meson.project_source_root(), meson.current_source_dir(),
|
2022-08-02 01:08:35 +08:00
|
|
|
meson.current_build_dir(),
|
|
|
|
'gimpconfig',
|
|
|
|
'#include <gio/gio.h>\n' +
|
|
|
|
'#include "libgimpbase/gimpbase.h"\n',
|
|
|
|
'#include "libgimp/libgimp-intl.h"',
|
|
|
|
libgimp_mkenums_dtails
|
2017-11-01 21:27:13 +08:00
|
|
|
],
|
2022-08-02 01:08:35 +08:00
|
|
|
build_by_default: true
|
2017-11-01 21:27:13 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
libgimpconfig_sources_introspectable = files(
|
|
|
|
'gimpcolorconfig.c',
|
2023-06-16 01:12:44 +08:00
|
|
|
'gimpconfig-array.c',
|
2017-11-01 21:27:13 +08:00
|
|
|
'gimpconfig-deserialize.c',
|
|
|
|
'gimpconfig-error.c',
|
|
|
|
'gimpconfig-iface.c',
|
2019-09-14 23:34:06 +08:00
|
|
|
'gimpconfig-params.c',
|
2019-09-16 16:45:22 +08:00
|
|
|
'gimpconfig-path.c',
|
|
|
|
'gimpconfig-register.c',
|
2017-11-01 21:27:13 +08:00
|
|
|
'gimpconfig-serialize.c',
|
|
|
|
'gimpconfig-utils.c',
|
|
|
|
'gimpconfigwriter.c',
|
|
|
|
'gimpscanner.c',
|
|
|
|
)
|
|
|
|
|
|
|
|
libgimpconfig_sources = [
|
|
|
|
libgimpconfig_sources_introspectable,
|
2022-08-02 01:08:35 +08:00
|
|
|
|
|
|
|
'gimpconfigenums.c',
|
|
|
|
stamp_config_enums
|
2017-11-01 21:27:13 +08:00
|
|
|
]
|
|
|
|
|
|
|
|
libgimpconfig_headers_introspectable = files(
|
|
|
|
'gimpcolorconfig.h',
|
2023-06-16 01:12:44 +08:00
|
|
|
'gimpconfig-array.h',
|
2017-11-01 21:27:13 +08:00
|
|
|
'gimpconfig-deserialize.h',
|
|
|
|
'gimpconfig-error.h',
|
|
|
|
'gimpconfig-iface.h',
|
|
|
|
'gimpconfig-params.h',
|
|
|
|
'gimpconfig-path.h',
|
2019-09-16 16:45:22 +08:00
|
|
|
'gimpconfig-register.h',
|
2017-11-01 21:27:13 +08:00
|
|
|
'gimpconfig-serialize.h',
|
|
|
|
'gimpconfig-utils.h',
|
|
|
|
'gimpconfigenums.h',
|
|
|
|
'gimpconfigtypes.h',
|
|
|
|
'gimpconfigwriter.h',
|
|
|
|
'gimpscanner.h',
|
|
|
|
)
|
|
|
|
|
|
|
|
libgimpconfig_headers = [
|
|
|
|
libgimpconfig_headers_introspectable,
|
|
|
|
'gimpconfig.h',
|
|
|
|
]
|
|
|
|
|
|
|
|
libgimpconfig_introspectable = [
|
|
|
|
libgimpconfig_headers_introspectable,
|
|
|
|
libgimpconfig_sources_introspectable,
|
|
|
|
]
|
|
|
|
|
|
|
|
libgimpconfig = library('gimpconfig-' + gimp_api_version,
|
|
|
|
libgimpconfig_sources,
|
|
|
|
include_directories: rootInclude,
|
|
|
|
dependencies: [
|
|
|
|
cairo, gdk_pixbuf, gegl, gio, gio_specific,
|
|
|
|
],
|
|
|
|
c_args: [ '-DG_LOG_DOMAIN="LibGimpConfig"', '-DGIMP_CONFIG_COMPILATION', ],
|
|
|
|
link_with: [
|
|
|
|
libgimpbase,
|
|
|
|
libgimpcolor,
|
|
|
|
libgimpmath,
|
|
|
|
],
|
|
|
|
vs_module_defs: 'gimpconfig.def',
|
|
|
|
install: true,
|
|
|
|
version: so_version,
|
|
|
|
)
|
|
|
|
|
|
|
|
install_headers(
|
|
|
|
libgimpconfig_headers,
|
|
|
|
subdir: gimp_api_name / 'libgimpconfig',
|
|
|
|
)
|