diff options
| author | Jussi Pakkanen <jpakkane@gmail.com> | 2020-09-27 20:21:59 +0300 |
|---|---|---|
| committer | Jussi Pakkanen <jpakkane@gmail.com> | 2020-10-07 18:55:25 +0300 |
| commit | 1a0603835e3c9f1047d9b7694efc996219a422e4 (patch) | |
| tree | 17262dcb1829ebad6a9817ce8571beb342eaad75 /mesonbuild/compilers/mixins/visualstudio.py | |
| parent | 8b20852b0ff35a9e19b3b26c04decdef35036fd5 (diff) | |
| download | meson-1a0603835e3c9f1047d9b7694efc996219a422e4.tar.gz | |
Add win_subsystem kwarg. Closes #7765.
Diffstat (limited to 'mesonbuild/compilers/mixins/visualstudio.py')
| -rw-r--r-- | mesonbuild/compilers/mixins/visualstudio.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mesonbuild/compilers/mixins/visualstudio.py b/mesonbuild/compilers/mixins/visualstudio.py index 3494beefe..75ab635e1 100644 --- a/mesonbuild/compilers/mixins/visualstudio.py +++ b/mesonbuild/compilers/mixins/visualstudio.py @@ -205,6 +205,9 @@ class VisualStudioLikeCompiler(Compiler, metaclass=abc.ABCMeta): else: return ['/SUBSYSTEM:CONSOLE'] + def get_win_subsystem_args(self, value: str) -> T.List[str]: + return ['/SUBSYSTEM:' + value.upper()] + def get_pic_args(self) -> T.List[str]: return [] # PIC is handled by the loader on Windows |
