2017-11-01 14:27:13 +01:00
|
|
|
plugin_name = 'map-object'
|
|
|
|
|
2025-05-28 21:35:27 -03:00
|
|
|
plugin_sourcecode = [
|
2017-11-01 14:27:13 +01:00
|
|
|
'arcball.c',
|
|
|
|
'map-object-apply.c',
|
|
|
|
'map-object-icons.c',
|
|
|
|
'map-object-image.c',
|
|
|
|
'map-object-main.c',
|
|
|
|
'map-object-preview.c',
|
|
|
|
'map-object-shade.c',
|
|
|
|
'map-object-ui.c',
|
|
|
|
]
|
2025-05-28 21:35:27 -03:00
|
|
|
plugin_sources = plugin_sourcecode + lighting_icon_sources
|
2017-11-01 14:27:13 +01:00
|
|
|
|
|
|
|
if platform_windows
|
|
|
|
plugin_sources += windows.compile_resources(
|
|
|
|
gimp_plugins_rc,
|
|
|
|
args: [
|
|
|
|
'--define', 'ORIGINALFILENAME_STR="@0@"'.format(plugin_name+'.exe'),
|
|
|
|
'--define', 'INTERNALNAME_STR="@0@"' .format(plugin_name),
|
2022-08-31 01:07:27 +02:00
|
|
|
'--define', 'TOP_SRCDIR="@0@"' .format(meson.project_source_root()),
|
2017-11-01 14:27:13 +01:00
|
|
|
],
|
|
|
|
include_directories: [
|
|
|
|
rootInclude, appInclude,
|
|
|
|
],
|
|
|
|
)
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
2024-04-08 21:29:19 +02:00
|
|
|
plugin_exe = executable(plugin_name,
|
|
|
|
plugin_sources,
|
|
|
|
dependencies: [
|
|
|
|
libgimpui_dep,
|
|
|
|
math,
|
|
|
|
],
|
2024-11-18 14:52:47 +09:00
|
|
|
win_subsystem: 'windows',
|
2024-04-08 21:29:19 +02:00
|
|
|
install: true,
|
|
|
|
install_dir: gimpplugindir / 'plug-ins' / plugin_name)
|
|
|
|
plugin_executables += [plugin_exe.full_path()]
|