aboutsummaryrefslogtreecommitdiffstats
path: root/tools/meson.build
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2023-05-05 12:35:46 -0400
committerDavid Robillard <d@drobilla.net>2023-12-02 18:49:08 -0500
commit439d6ec3d6dfbea74334beace790f500e61c9b7d (patch)
treee385755a7d557dd5eb6f33b841072375cfaca29d /tools/meson.build
parentc9afaab2a84f592e4567b37b3551511381e734e4 (diff)
downloadserd-439d6ec3d6dfbea74334beace790f500e61c9b7d.tar.gz
serd-439d6ec3d6dfbea74334beace790f500e61c9b7d.tar.bz2
serd-439d6ec3d6dfbea74334beace790f500e61c9b7d.zip
Add statement filter sink and serd-filter tool
Diffstat (limited to 'tools/meson.build')
-rw-r--r--tools/meson.build10
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/meson.build b/tools/meson.build
index ce82b212..43902c74 100644
--- a/tools/meson.build
+++ b/tools/meson.build
@@ -8,6 +8,15 @@ if get_option('static') and cc.get_id() != 'msvc'
tool_link_args += ['-static']
endif
+serd_filter = executable(
+ 'serd-filter',
+ files('console.c', 'serd-filter.c'),
+ c_args: tool_c_args,
+ dependencies: [serd_dep, zix_dep],
+ install: true,
+ link_args: tool_link_args,
+)
+
serd_pipe = executable(
'serd-pipe',
files('console.c', 'serd-pipe.c'),
@@ -17,4 +26,5 @@ serd_pipe = executable(
link_args: tool_link_args,
)
+meson.override_find_program('serd-filter', serd_filter)
meson.override_find_program('serd-pipe', serd_pipe)