aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/compilers/compilers.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2020-11-21 20:10:58 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2020-12-11 19:21:02 +0000
commit5bd1276d2024bf84ea5dfe1b1b43f39cc13b0764 (patch)
treecc5d4609a4e620d474447786640f815b4a12d311 /mesonbuild/compilers/compilers.py
parentb8cb53791e7211c5dd8ba7c397e35e4280300e11 (diff)
downloadmeson-5bd1276d2024bf84ea5dfe1b1b43f39cc13b0764.zip
meson-5bd1276d2024bf84ea5dfe1b1b43f39cc13b0764.tar.gz
meson-5bd1276d2024bf84ea5dfe1b1b43f39cc13b0764.tar.bz2
Create unit test for C++ modules and accept ixx as C++ source extension.
Diffstat (limited to 'mesonbuild/compilers/compilers.py')
-rw-r--r--mesonbuild/compilers/compilers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/compilers/compilers.py b/mesonbuild/compilers/compilers.py
index 2900e19..2acd429 100644
--- a/mesonbuild/compilers/compilers.py
+++ b/mesonbuild/compilers/compilers.py
@@ -55,7 +55,7 @@ lib_suffixes = ('a', 'lib', 'dll', 'dll.a', 'dylib', 'so') # type: T.Tuple[str,
# 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', 'ino'),
+ 'cpp': ('cpp', 'cc', 'cxx', 'c++', 'hh', 'hpp', 'ipp', 'hxx', 'ino', 'ixx'),
'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)