PIKApp/app-tools/meson.build

32 lines
702 B
Meson

if platform_windows or platform_osx
pika_debug_tool_dir = get_option('bindir')
else
pika_debug_tool_dir = get_option('libexecdir')
endif
pika_debug_tool = executable('pika-debug-tool' + exec_ver,
'pika-debug-tool.c',
include_directories: rootInclude,
dependencies: [
fontconfig,
gio,
gegl,
gtk3,
],
link_with: [
libapp,
libappwidgets,
libpikabase,
],
install: true,
install_dir: pika_debug_tool_dir
)
if enable_default_bin and meson.version().version_compare('>=0.61.0')
install_symlink(fs.name(pika_debug_tool.full_path()).replace(exec_ver, ''),
pointing_to: fs.name(pika_debug_tool.full_path()),
install_dir: pika_debug_tool_dir
)
endif