diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2021-04-27 10:36:42 -0700 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2021-06-07 09:16:19 -0700 |
commit | 4d1cbd1b8ab45d5eebb82cf0c22123e10d29a7d8 (patch) | |
tree | b44187884257c26e4a45196db44d16f5673836ed /mesonbuild/compilers | |
parent | cf17ef3867b585a40762808aed8e0b240d9113ed (diff) | |
download | meson-4d1cbd1b8ab45d5eebb82cf0c22123e10d29a7d8.zip meson-4d1cbd1b8ab45d5eebb82cf0c22123e10d29a7d8.tar.gz meson-4d1cbd1b8ab45d5eebb82cf0c22123e10d29a7d8.tar.bz2 |
compilers: Add cython file suffixes
Diffstat (limited to 'mesonbuild/compilers')
-rw-r--r-- | mesonbuild/compilers/compilers.py | 2 |
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 = { |