2023-12-14 03:38:41 +08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
2017-06-23 02:42:04 +08:00
|
|
|
# Copyright 2017 The Meson development team
|
|
|
|
|
2017-06-23 07:42:41 +08:00
|
|
|
# Public symbols for compilers sub-package when using 'from . import compilers'
|
|
|
|
__all__ = [
|
2018-12-30 20:37:41 +08:00
|
|
|
'Compiler',
|
2021-06-11 22:01:14 +08:00
|
|
|
'RunResult',
|
2017-06-23 07:42:41 +08:00
|
|
|
|
2018-05-13 22:36:58 +08:00
|
|
|
'all_languages',
|
2017-06-23 07:42:41 +08:00
|
|
|
'base_options',
|
2018-06-19 12:01:32 +08:00
|
|
|
'clib_langs',
|
2018-06-19 12:17:25 +08:00
|
|
|
'clink_langs',
|
2017-06-23 07:42:41 +08:00
|
|
|
'c_suffixes',
|
|
|
|
'cpp_suffixes',
|
|
|
|
'get_base_compile_args',
|
|
|
|
'get_base_link_args',
|
|
|
|
'is_assembly',
|
|
|
|
'is_header',
|
|
|
|
'is_library',
|
|
|
|
'is_llvm_ir',
|
|
|
|
'is_object',
|
|
|
|
'is_source',
|
2020-02-10 02:49:03 +08:00
|
|
|
'is_known_suffix',
|
2017-06-23 07:42:41 +08:00
|
|
|
'lang_suffixes',
|
2021-09-14 13:05:09 +08:00
|
|
|
'LANGUAGES_USING_LDFLAGS',
|
2018-06-19 12:17:25 +08:00
|
|
|
'sort_clink',
|
2021-07-22 18:01:01 +08:00
|
|
|
'SUFFIX_TO_LANG',
|
2017-06-23 07:42:41 +08:00
|
|
|
|
2021-06-03 01:30:55 +08:00
|
|
|
'compiler_from_language',
|
|
|
|
'detect_compiler_for',
|
|
|
|
'detect_static_linker',
|
|
|
|
'detect_c_compiler',
|
|
|
|
'detect_cpp_compiler',
|
|
|
|
'detect_cuda_compiler',
|
|
|
|
'detect_fortran_compiler',
|
|
|
|
'detect_objc_compiler',
|
|
|
|
'detect_objcpp_compiler',
|
|
|
|
'detect_java_compiler',
|
|
|
|
'detect_cs_compiler',
|
|
|
|
'detect_vala_compiler',
|
|
|
|
'detect_rust_compiler',
|
|
|
|
'detect_d_compiler',
|
|
|
|
'detect_swift_compiler',
|
2017-06-23 07:42:41 +08:00
|
|
|
]
|
|
|
|
|
|
|
|
# Bring symbols from each module into compilers sub-package namespace
|
|
|
|
from .compilers import (
|
2018-12-30 20:37:41 +08:00
|
|
|
Compiler,
|
2021-06-11 22:01:14 +08:00
|
|
|
RunResult,
|
2018-05-13 22:36:58 +08:00
|
|
|
all_languages,
|
2017-06-23 07:42:41 +08:00
|
|
|
base_options,
|
2018-06-19 12:01:32 +08:00
|
|
|
clib_langs,
|
2018-06-19 12:17:25 +08:00
|
|
|
clink_langs,
|
2017-06-23 07:42:41 +08:00
|
|
|
c_suffixes,
|
|
|
|
cpp_suffixes,
|
|
|
|
get_base_compile_args,
|
|
|
|
get_base_link_args,
|
|
|
|
is_header,
|
|
|
|
is_source,
|
|
|
|
is_assembly,
|
|
|
|
is_llvm_ir,
|
|
|
|
is_object,
|
|
|
|
is_library,
|
2020-02-10 02:49:03 +08:00
|
|
|
is_known_suffix,
|
2017-06-23 07:42:41 +08:00
|
|
|
lang_suffixes,
|
2020-12-09 02:56:44 +08:00
|
|
|
LANGUAGES_USING_LDFLAGS,
|
2018-06-19 12:17:25 +08:00
|
|
|
sort_clink,
|
2021-07-22 18:01:01 +08:00
|
|
|
SUFFIX_TO_LANG,
|
2017-06-23 07:42:41 +08:00
|
|
|
)
|
2021-06-03 01:30:55 +08:00
|
|
|
from .detect import (
|
|
|
|
compiler_from_language,
|
|
|
|
detect_compiler_for,
|
|
|
|
detect_static_linker,
|
|
|
|
detect_c_compiler,
|
|
|
|
detect_cpp_compiler,
|
|
|
|
detect_cuda_compiler,
|
|
|
|
detect_objc_compiler,
|
|
|
|
detect_objcpp_compiler,
|
|
|
|
detect_fortran_compiler,
|
|
|
|
detect_java_compiler,
|
|
|
|
detect_cs_compiler,
|
|
|
|
detect_vala_compiler,
|
|
|
|
detect_rust_compiler,
|
|
|
|
detect_d_compiler,
|
|
|
|
detect_swift_compiler,
|
|
|
|
)
|