diff options
| author | Dylan Baker <dylan@pnwbakers.com> | 2025-01-10 14:13:59 -0800 |
|---|---|---|
| committer | Dylan Baker <dylan@pnwbakers.com> | 2025-10-15 10:21:46 -0700 |
| commit | 63eb585f0c6054dc8a4d0f9302643e6d49c3f0a7 (patch) | |
| tree | c0f4675d160045acadbe66b2f8f695af9b184284 | |
| parent | a316fdd29ad9217463b1fdf62df4709158f2af21 (diff) | |
| download | meson-63eb585f0c6054dc8a4d0f9302643e6d49c3f0a7.tar.gz | |
build: remove support for gui_app
The Interpreter has been merging gui_app and win_subsystem for a while,
but now with the typed kwargs we can feel more comfortable that gui_app
wont get passed through beneath us
| -rw-r--r-- | mesonbuild/build.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/mesonbuild/build.py b/mesonbuild/build.py index 27b4abf0d..e3f5672c6 100644 --- a/mesonbuild/build.py +++ b/mesonbuild/build.py @@ -1280,8 +1280,6 @@ class BuildTarget(Target): self.install_tag = stringlistify(kwargs.get('install_tag', [None])) if not isinstance(self, Executable): # build_target will always populate these as `None`, which is fine - if kwargs.get('gui_app') is not None: - raise InvalidArguments('Argument gui_app can only be used on executables.') if kwargs.get('win_subsystem') is not None: raise InvalidArguments('Argument win_subsystem can only be used on executables.') extra_files = extract_as_list(kwargs, 'extra_files') |
