build: add a `uses_fortran()` convenience method

pull/10703/head
Dylan Baker 2 years ago committed by Eli Schwartz
parent 741de25462
commit a044f42308
  1. 3
      mesonbuild/build.py

@ -1634,6 +1634,9 @@ You probably should put it in link_with instead.''')
def uses_rust(self) -> bool:
return 'rust' in self.compilers
def uses_fortran(self) -> bool:
return 'fortran' in self.compilers
def get_using_msvc(self) -> bool:
'''
Check if the dynamic linker is MSVC. Used by Executable, StaticLibrary,

Loading…
Cancel
Save