aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/compilers/compilers.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2021-06-07 23:29:30 +0300
committerGitHub <noreply@github.com>2021-06-07 23:29:30 +0300
commit40e8a67a837c4184ef02fa90eae05ef39f4b2199 (patch)
tree1d408f46ab94e1b24cecc1b86f2513ccaa5e7da9 /mesonbuild/compilers/compilers.py
parentd53ea7da2d3f40ca2ddcce229c4db28b904832fe (diff)
parent0bc18f26a21ea0c1ad06e131e872cec2cc6022a4 (diff)
downloadmeson-40e8a67a837c4184ef02fa90eae05ef39f4b2199.zip
meson-40e8a67a837c4184ef02fa90eae05ef39f4b2199.tar.gz
meson-40e8a67a837c4184ef02fa90eae05ef39f4b2199.tar.bz2
Merge pull request #8706 from dcbaker/wip/2021-04/cython-language
1st class Cython language support
Diffstat (limited to 'mesonbuild/compilers/compilers.py')
-rw-r--r--mesonbuild/compilers/compilers.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/mesonbuild/compilers/compilers.py b/mesonbuild/compilers/compilers.py
index 361f5d6..cdb9f1c 100644
--- a/mesonbuild/compilers/compilers.py
+++ b/mesonbuild/compilers/compilers.py
@@ -64,6 +64,7 @@ lang_suffixes = {
'cs': ('cs',),
'swift': ('swift',),
'java': ('java',),
+ 'cython': ('pyx', ),
} # type: T.Dict[str, T.Tuple[str, ...]]
all_languages = lang_suffixes.keys()
cpp_suffixes = lang_suffixes['cpp'] + ('h',) # type: T.Tuple[str, ...]
@@ -97,6 +98,7 @@ CFLAGS_MAPPING: T.Mapping[str, str] = {
'd': 'DFLAGS',
'vala': 'VALAFLAGS',
'rust': 'RUSTFLAGS',
+ 'cython': 'CYTHONFLAGS',
}
CEXE_MAPPING: T.Mapping = {