From 95a97e1e7bfaf5486d0561587ccb96335a97e172 Mon Sep 17 00:00:00 2001 From: Chengzhong Wu Date: Wed, 19 Jun 2024 16:18:44 +0100 Subject: [PATCH] build: only generate specified build type files Release and Debug build configurations can not be shared, only generate specified configuration in `configure`. --- configure.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.py b/configure.py index f5b04924695559..3431508b36aa55 100755 --- a/configure.py +++ b/configure.py @@ -2253,7 +2253,7 @@ def make_bin_override(): gyp_args += ['-Dpython=' + python] if options.use_ninja: - gyp_args += ['-f', 'ninja-' + flavor] + gyp_args += ['-f', 'ninja-' + flavor, '-G', 'config=' + config['BUILDTYPE']] elif flavor == 'win' and sys.platform != 'msys': gyp_args += ['-f', 'msvs', '-G', 'msvs_version=auto'] else: