diff --git a/mesonbuild/minit.py b/mesonbuild/minit.py index f03eefc17..f2c7d9cbd 100644 --- a/mesonbuild/minit.py +++ b/mesonbuild/minit.py @@ -40,8 +40,8 @@ we currently have one meson template at this time. from mesonbuild.templates.mesontemplates import create_meson_build FORTRAN_SUFFIXES = ('.f', '.for', '.F', '.f90', '.F90') -LANG_SUFFIXES = ('.c', '.cc', '.cpp', '.cs', '.cu', '.d', '.m', '.mm', '.rs', '.java') + FORTRAN_SUFFIXES -LANG_SUPPORTED = ('c', 'cpp', 'cs', 'cuda', 'd', 'fortran', 'java', 'rust', 'objc', 'objcpp') +LANG_SUFFIXES = {'.c', '.cc', '.cpp', '.cs', '.cu', '.d', '.m', '.mm', '.rs', '.java'}.add(FORTRAN_SUFFIXES) +LANG_SUPPORTED = {'c', 'cpp', 'cs', 'cuda', 'd', 'fortran', 'java', 'rust', 'objc', 'objcpp'} DEFAULT_PROJECT = 'executable' DEFAULT_VERSION = '0.1'