PIKApp/plug-ins/selection-to-path/meson.build

40 lines
866 B
Meson

plugin_name = 'selection-to-path'
plugin_sources = [
'curve.c',
'edge.c',
'fit.c',
'math.c',
'pxl-outline.c',
'selection-to-path-dialog.c',
'selection-to-path.c',
'spline.c',
'vector.c',
]
if platform_windows
plugin_sources += windows.compile_resources(
pika_plugins_rc,
args: [
'--define', 'ORIGINALFILENAME_STR="@0@"'.format(plugin_name+'.exe'),
'--define', 'INTERNALNAME_STR="@0@"' .format(plugin_name),
'--define', 'TOP_SRCDIR="@0@"' .format(meson.project_source_root()),
],
include_directories: [
rootInclude, appInclude,
],
)
endif
plugin_selection_to_path_deps = [
libpikaui_dep,
math,
]
selection_to_path = executable(plugin_name,
plugin_sources,
dependencies: plugin_selection_to_path_deps,
install: true,
install_dir: pikaplugindir / 'plug-ins' / plugin_name,
)