compilers: 'H' is a C++ header

We list other C++ header types in this list, so H should be included
pull/12263/head
Dylan Baker 1 year ago
parent 6a8330af59
commit 8ac4346943
  1. 2
      mesonbuild/compilers/compilers.py

@ -48,7 +48,7 @@ lib_suffixes = {'a', 'lib', 'dll', 'dll.a', 'dylib', 'so', 'js'}
# First suffix is the language's default. # First suffix is the language's default.
lang_suffixes = { lang_suffixes = {
'c': ('c',), 'c': ('c',),
'cpp': ('cpp', 'cc', 'cxx', 'c++', 'hh', 'hpp', 'ipp', 'hxx', 'ino', 'ixx', 'C'), 'cpp': ('cpp', 'cc', 'cxx', 'c++', 'hh', 'hpp', 'ipp', 'hxx', 'ino', 'ixx', 'C', 'H'),
'cuda': ('cu',), 'cuda': ('cu',),
# f90, f95, f03, f08 are for free-form fortran ('f90' recommended) # f90, f95, f03, f08 are for free-form fortran ('f90' recommended)
# f, for, ftn, fpp are for fixed-form fortran ('f' or 'for' recommended) # f, for, ftn, fpp are for fixed-form fortran ('f' or 'for' recommended)

Loading…
Cancel
Save