avoid detecting masm as a MSVC-like compiler for detecting showincludes

It's msvc-like but, just like Intel Fortran, doesn't support this
argument.
pull/11260/head
Eli Schwartz 2 years ago committed by Xavier Claessens
parent 9f12f6e158
commit b9b27d37c9
  1. 4
      mesonbuild/backend/ninjabackend.py

@ -512,8 +512,8 @@ class NinjaBackend(backends.Backend):
for compiler in self.environment.coredata.compilers.host.values():
# Have to detect the dependency format
# IFort on windows is MSVC like, but doesn't have /showincludes
if compiler.language == 'fortran':
# IFort / masm on windows is MSVC like, but doesn't have /showincludes
if compiler.language in {'fortran', 'masm'}:
continue
if compiler.id == 'pgi' and mesonlib.is_windows():
# for the purpose of this function, PGI doesn't act enough like MSVC

Loading…
Cancel
Save