From 5f5518bb8865a4f672cf04bcd6a7c0c54d7cd173 Mon Sep 17 00:00:00 2001 From: King_DuckZ Date: Mon, 7 Apr 2025 22:53:54 +0100 Subject: [PATCH] Make cli build optional but on by default --- meson.options | 1 + src/meson.build | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 meson.options diff --git a/meson.options b/meson.options new file mode 100644 index 0000000..c603beb --- /dev/null +++ b/meson.options @@ -0,0 +1 @@ +option('build_tools', type: 'boolean', value: true, description: 'Enable or disable building the cli tools') diff --git a/src/meson.build b/src/meson.build index 10941c5..0fffc74 100644 --- a/src/meson.build +++ b/src/meson.build @@ -1,2 +1,5 @@ subdir('ducktorrent') -subdir('cli') + +if get_option('build_tools') + subdir('cli') +endif