Update minit.py

pull/6658/head
Michael Brockus 5 years ago committed by GitHub
parent b12ba4b1bc
commit 0f92e0c3fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      mesonbuild/minit.py

@ -39,9 +39,8 @@ we currently have one meson template at this time.
''' '''
from mesonbuild.templates.mesontemplates import create_meson_build from mesonbuild.templates.mesontemplates import create_meson_build
FORTRAN_SUFFIXES = ('.f', '.for', '.F', '.f90', '.F90') FORTRAN_SUFFIXES = {'.f', '.for', '.F', '.f90', '.F90'}
LANG_SUFFIXES = {'.c', '.cc', '.cpp', '.cs', '.cu', '.d', '.m', '.mm', '.rs', '.java'} LANG_SUFFIXES = {'.c', '.cc', '.cpp', '.cs', '.cu', '.d', '.m', '.mm', '.rs', '.java'} | FORTRAN_SUFFIXES
LANG_SUFFIXES.add(FORTRAN_SUFFIXES)
LANG_SUPPORTED = {'c', 'cpp', 'cs', 'cuda', 'd', 'fortran', 'java', 'rust', 'objc', 'objcpp'} LANG_SUPPORTED = {'c', 'cpp', 'cs', 'cuda', 'd', 'fortran', 'java', 'rust', 'objc', 'objcpp'}
DEFAULT_PROJECT = 'executable' DEFAULT_PROJECT = 'executable'

Loading…
Cancel
Save