diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2022-05-03 18:11:08 +0300 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2022-05-03 18:18:31 +0300 |
commit | 8098fe7244b72c066bad62178b5020a9e2491d2b (patch) | |
tree | 74bf2c09cb03988e341beb9fc148e7469b6f98c4 /mesonbuild/backend/ninjabackend.py | |
parent | 9d3ad5a2a90c5471cd3c3ab28d880fa278cd2a97 (diff) | |
download | meson-gccmodules.zip meson-gccmodules.tar.gz meson-gccmodules.tar.bz2 |
Add some scaffolding needed for C++ modules in GCC.gccmodules
Further work pending GCC bug #105467 and/or Ninja bug #1962.
Diffstat (limited to 'mesonbuild/backend/ninjabackend.py')
-rw-r--r-- | mesonbuild/backend/ninjabackend.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mesonbuild/backend/ninjabackend.py b/mesonbuild/backend/ninjabackend.py index 1720138..35c14ee 100644 --- a/mesonbuild/backend/ninjabackend.py +++ b/mesonbuild/backend/ninjabackend.py @@ -913,6 +913,8 @@ class NinjaBackend(backends.Backend): return True if 'cpp' not in target.compilers: return False + if '-fmodules-ts' in target.extra_args.get('cpp', []): + return True # Currently only the preview version of Visual Studio is supported. cpp = target.compilers['cpp'] if cpp.get_id() != 'msvc': |