diff options
author | Phillip Johnston <phillip@embeddedartistry.com> | 2020-05-26 11:19:07 -0700 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2020-05-27 20:17:26 +0300 |
commit | bdfd46e579472d24f8856b79938c8daa1b70d15f (patch) | |
tree | e89b14804f07d2fecbf577aa911dd3ac611f94ad | |
parent | 228fd24ca4039fe48d8f30a82cccc83d72b0e786 (diff) | |
download | meson-bdfd46e579472d24f8856b79938c8daa1b70d15f.zip meson-bdfd46e579472d24f8856b79938c8daa1b70d15f.tar.gz meson-bdfd46e579472d24f8856b79938c8daa1b70d15f.tar.bz2 |
Recognize Arduino .ino files as C++
Renaming .ino files is not an option when working with the IDE. Meson should recognize it as C++ however.
-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 f3c171f..3def159 100644 --- a/mesonbuild/compilers/compilers.py +++ b/mesonbuild/compilers/compilers.py @@ -52,7 +52,7 @@ lib_suffixes = ('a', 'lib', 'dll', 'dll.a', 'dylib', 'so') # This means we can't include .h headers here since they could be C, C++, ObjC, etc. lang_suffixes = { 'c': ('c',), - 'cpp': ('cpp', 'cc', 'cxx', 'c++', 'hh', 'hpp', 'ipp', 'hxx'), + 'cpp': ('cpp', 'cc', 'cxx', 'c++', 'hh', 'hpp', 'ipp', 'hxx', 'ino'), '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) |