compilers: Add cython file suffixes

pull/8706/head
Dylan Baker 4 years ago
parent cf17ef3867
commit 4d1cbd1b8a
  1. 1
      mesonbuild/build.py
  2. 2
      mesonbuild/compilers/compilers.py

@ -64,6 +64,7 @@ lang_arg_kwargs = {
'rust_args',
'vala_args',
'cs_args',
'cython_args',
}
vala_kwargs = {'vala_header', 'vala_gir', 'vala_vapi'}

@ -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 = {

Loading…
Cancel
Save