From 32c4f5e5b5852d32ac01e8e180babb56464d95af Mon Sep 17 00:00:00 2001 From: King_DuckZ Date: Fri, 1 May 2020 20:45:33 +0200 Subject: [PATCH] Still trying to propagate options down... https://mesonbuild.com/Build-options.html#yielding-to-superproject-option --- meson_options.txt | 6 ++++-- subprojects/wren/meson_options.txt | 8 ++++---- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/meson_options.txt b/meson_options.txt index 9f377f2..9f8f695 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -1,2 +1,4 @@ -option('wren_with_rand', type: 'boolean', value: false) -option('wren_with_meta', type: 'boolean', value: false) +option('build_testing', type: 'boolean', value: false, yield: true) +option('wren_with_cli', type: 'boolean', value: true, yield: true) +option('wren_with_rand', type: 'boolean', value: false, yield: true) +option('wren_with_meta', type: 'boolean', value: false, yield: true) diff --git a/subprojects/wren/meson_options.txt b/subprojects/wren/meson_options.txt index 1181c76..9f8f695 100644 --- a/subprojects/wren/meson_options.txt +++ b/subprojects/wren/meson_options.txt @@ -1,4 +1,4 @@ -option('build_testing', type: 'boolean', value: false) -option('wren_with_cli', type: 'boolean', value: true) -option('wren_with_rand', type: 'boolean', value: false) -option('wren_with_meta', type: 'boolean', value: false) +option('build_testing', type: 'boolean', value: false, yield: true) +option('wren_with_cli', type: 'boolean', value: true, yield: true) +option('wren_with_rand', type: 'boolean', value: false, yield: true) +option('wren_with_meta', type: 'boolean', value: false, yield: true)