gimp/libgimpmodule/meson.build

38 lines
726 B
Meson
Raw Permalink Normal View History

2017-11-01 21:27:13 +08:00
libgimpmodule_sources = files(
'gimpmodule.c',
'gimpmoduledb.c',
)
libgimpmodule_headers = files(
'gimpmodule.h',
'gimpmoduledb.h',
'gimpmoduletypes.h',
)
libgimpmodule_introspectable = [
libgimpmodule_sources,
libgimpmodule_headers,
]
libgimpmodule = library('gimpmodule-' + gimp_api_version,
libgimpmodule_sources,
include_directories: rootInclude,
dependencies: [
gegl, gio, glib, gmodule,
2017-11-01 21:27:13 +08:00
],
c_args: [ '-DG_LOG_DOMAIN="LibGimpModule"', '-DGIMP_MODULE_COMPILATION', ],
link_with: [
libgimpbase,
libgimpconfig,
],
vs_module_defs: 'gimpmodule.def',
install: true,
version: so_version,
)
install_headers(
libgimpmodule_headers,
subdir: gimp_api_name / 'libgimpmodule',
)