diff options
| author | TheHillBright <150074496+TheHillBright@users.noreply.github.com> | 2024-06-20 07:38:52 +0000 |
|---|---|---|
| committer | Jussi Pakkanen <jpakkane@gmail.com> | 2024-06-23 13:20:30 +0300 |
| commit | c0ca35c8fd796bea4bd92f88b03cb3d6abd2096c (patch) | |
| tree | 0795c70dc067de4f3770263b3f1caf5557632af1 /mesonbuild/compilers/compilers.py | |
| parent | 1951fe5cf0a69b0467859a35cc8e06c16de0a76a (diff) | |
| download | meson-c0ca35c8fd796bea4bd92f88b03cb3d6abd2096c.tar.gz | |
feat(compilers): cppm extension support
recognize the file extension `cppm` as c++ source file
Diffstat (limited to 'mesonbuild/compilers/compilers.py')
| -rw-r--r-- | mesonbuild/compilers/compilers.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/compilers/compilers.py b/mesonbuild/compilers/compilers.py index 4a1fd984c..c03f1fd37 100644 --- a/mesonbuild/compilers/compilers.py +++ b/mesonbuild/compilers/compilers.py @@ -52,7 +52,7 @@ lib_suffixes = {'a', 'lib', 'dll', 'dll.a', 'dylib', 'so', 'js'} # First suffix is the language's default. lang_suffixes = { 'c': ('c',), - 'cpp': ('cpp', 'cc', 'cxx', 'c++', 'hh', 'hpp', 'ipp', 'hxx', 'ino', 'ixx', 'C', 'H'), + 'cpp': ('cpp', 'cppm', 'cc', 'cxx', 'c++', 'hh', 'hpp', 'ipp', 'hxx', 'ino', 'ixx', 'C', 'H'), 'cuda': ('cu',), # f90, f95, f03, f08 are for free-form fortran ('f90' recommended) # f, for, ftn, fpp are for fixed-form fortran ('f' or 'for' recommended) |
