meson の API リファレンス
meson (mesonbuild/meson) の公開 API 271 件 —— クラス 162、関数 40、メソッド 69。実際のソースを静的解析して抽出した正確なシグネチャを掲載しています。
リポジトリ: mesonbuild/meson
| 種別 | 件数 |
|---|---|
| クラス | 162 |
| 関数 | 40 |
| メソッド | 69 |
API 一覧
class
mesonbuild.arglist.CompilerArgsList-like class that manages a list of compiler arguments.
class
mesonbuild.arglist.DedupWhat kind of deduplication can be done to compiler args.
class
mesonbuild.ast.visitor.FullAstVisitorVisit all nodes, including Symbol and Whitespaces
func
mesonbuild.backend.ninjabackend.NinjaBackend.compute_path(file:FileOrString) -> strMake source files absolute
class
mesonbuild.backend.ninjabackend.TargetDependencyScannerInfoInformation passed to the depscanner about a target.
func
mesonbuild.backend.vs2010backend.split_o_flags_args(args:T.List[str]) -> T.List[str]Splits any /O args and returns them.
method
mesonbuild.build.Build.copy_for_build_machine() -> BuildCreate a build-only copy for build machine subprojects.
method
mesonbuild.build.BuildTarget.get_using_msvc() -> boolCheck if the dynamic linker is MSVC.
method
mesonbuild.build.BuildTarget.process_sourcelist(sources:T.Iterable['SourceOutputs']) -> NoneSplit sources into generated and static sources.
method
mesonbuild.build.CustomTarget.is_internal() -> boolReturns True if this is a not installed static library.
class
mesonbuild.build.CustomTargetIndexA special opaque object returned by indexing a CustomTarget.
method
mesonbuild.build.CustomTargetIndex.is_internal() -> boolReturns True if this is a not installed static library
class
mesonbuild.build.FileMaybeInTargetPrivateDirUnion between 'File' and 'FileInTargetPrivateDir'
class
mesonbuild.build.GeneratedListThe output of generator.process.
class
mesonbuild.build.IncludeDirsInternal representation of an include_directories call.
method
mesonbuild.build.IncludeDirs.abs_string_list(sourcedir:str, builddir:str) -> T.List[str]Convert IncludeDirs object to a list of absolute string paths.
method
mesonbuild.build.Target.construct_id_from_path(subdir:str, name:str, type_suffix:str) -> strConstruct target ID from subdir, name and type suffix.
method
mesonbuild.cargo.builder.Builder.function(name:str, pos:T.Optional[T.List[mparser.BaseNode]]=None, kw:T.Optional[T.Mapping[str, mparser.BaseNode]]=None) -> mparser.FunctionNodeCreate a function call.
method
mesonbuild.cargo.builder.Builder.method(name:str, id_:mparser.BaseNode, pos:T.Optional[T.List[mparser.BaseNode]]=None, kw:T.Optional[T.Mapping[str, mparser.BaseNode]]=None) -> mparser.MethodNodeCreate a method call.
class
mesonbuild.cargo.cfg.IRBase IR node for Cargo CFG.
func
mesonbuild.cargo.cfg.lexer(raw:str) -> _LEX_STREAMLex a cfg() expression.
func
mesonbuild.cargo.cfg.parse(ast:_LEX_STREAM) -> IRParse the tokenized list into Meson AST.
method
mesonbuild.cargo.interpreter.Interpreter.features() -> T.List[str]Get the features list.
method
mesonbuild.cargo.interpreter.PackageConfiguration.get_features_args() -> T.List[str]Get feature configuration arguments.
method
mesonbuild.cargo.interpreter.PackageState.get_dependency_name(rust_abi:T.Optional[RUST_ABI]) -> strGet the dependency name for a package with the given ABI.
method
mesonbuild.cargo.interpreter.PackageState.get_env_args(rustc:RustCompiler, environment:Environment, subdir:str) -> T.List[str]Get environment variable arguments for rustc.
method
mesonbuild.cargo.interpreter.PackageState.get_env_dict(environment:Environment, subdir:str) -> T.Dict[str, str]Get environment variables for this package.
method
mesonbuild.cargo.interpreter.PackageState.get_lint_args(rustc:RustCompiler) -> T.List[str]Get lint arguments for this package.
method
mesonbuild.cargo.interpreter.PackageState.get_rustc_args(environment:Environment, subdir:str, machine:MachineChoice) -> T.List[str]Get rustc arguments for this package.
func
mesonbuild.cargo.interpreter.load_cargo_lock(filename:str, subproject_dir:str) -> T.Optional[CargoLock]Convert Cargo.lock into a list of wraps
class
mesonbuild.cargo.manifest.BenchmarkRepresentation of a Cargo Benchmark Entry.
class
mesonbuild.cargo.manifest.BinaryRepresentation of a Cargo Bin Entry.
class
mesonbuild.cargo.manifest.CargoLockA description of the Cargo.lock file format.
class
mesonbuild.cargo.manifest.CargoLockPackageA description of a package in the Cargo.lock file format.
class
mesonbuild.cargo.manifest.DependencyRepresentation of a Cargo Dependency Entry.
class
mesonbuild.cargo.manifest.ExampleRepresentation of a Cargo Example Entry.
class
mesonbuild.cargo.manifest.LibraryRepresentation of a Cargo Library Entry.
class
mesonbuild.cargo.manifest.LintCargo Lint definition.
class
mesonbuild.cargo.manifest.ManifestCargo Manifest definition.
class
mesonbuild.cargo.manifest.TestRepresentation of a Cargo Test Entry.
class
mesonbuild.cargo.manifest.WorkspaceCargo Workspace definition.
class
mesonbuild.cargo.raw.BadgeAn entry in the badge section.
class
mesonbuild.cargo.raw.CargoLockA description of the Cargo.lock file format.
class
mesonbuild.cargo.raw.CargoLockPackageA description of a package in the Cargo.lock file format.
class
mesonbuild.cargo.raw.FromWorkspaceAn entry or section that is copied from the workspace.
class
mesonbuild.cargo.raw.TargetTarget entry in the Manifest File.
class
mesonbuild.cargo.raw.WorkspaceThe representation of a workspace.
class
mesonbuild.cargo.version.SemVerA SemVer 2.0.0 version, suitable for ordering.
func
mesonbuild.cargo.version.api(cargo_ver:str) -> strDetermine the API version implied by a Cargo version requirement.
func
mesonbuild.cargo.version.split(cargo_ver:str) -> T.Iterable[tuple[str, str]]Canonicalization of Cargo version requirements
class
mesonbuild.compilers.asm.ASMCompilerShared base class for all ASM Compilers (Assemblers)
class
mesonbuild.compilers.c.ArmclangCCompilerKeil armclang
class
mesonbuild.compilers.c.IntelClCCompilerIntel "ICL" compiler abstraction.
class
mesonbuild.compilers.c.VisualStudioLikeCCompilerMixinShared methods that apply to MSVC-like C compilers.
class
mesonbuild.compilers.c.Xc32CCompilerMicrochip XC32 C compiler.
class
mesonbuild.compilers.compilers.CompileResultThe result of Compiler.compiles (and friends).
method
mesonbuild.compilers.compilers.Compiler.get_argument_syntax() -> strReturns the argument family type.
method
mesonbuild.compilers.compilers.Compiler.get_assert_args(disable:bool) -> T.List[str]Get arguments to enable or disable assertion.
method
mesonbuild.compilers.compilers.Compiler.get_compiler_check_args(mode:CompileCheckMode) -> T.List[str]Arguments to pass the compiler and/or linker for checks.
method
mesonbuild.compilers.compilers.Compiler.get_crt_static() -> boolIs this target using static CRT?
method
mesonbuild.compilers.compilers.Compiler.get_debug_args(is_debug:bool) -> T.List[str]Arguments required for a debug build.
method
mesonbuild.compilers.compilers.Compiler.get_feature_args(kwargs:DFeatures, build_to_src:str) -> T.List[str]Used by D for extra language features.
method
mesonbuild.compilers.compilers.Compiler.get_preprocessor() -> CompilerGet compiler's preprocessor.
method
mesonbuild.compilers.compilers.Compiler.get_target_libdir() -> strWhere is the libdir for the current machine located
method
mesonbuild.compilers.compilers.Compiler.has_function(funcname:str, prefix:str, *extra_args:T.Optional[T.List[str]]=None, *dependencies:T.Optional[T.List['Dependency']]=None) -> T.Tuple[bool, bool]See if a function exists.
method
mesonbuild.compilers.compilers.Compiler.has_multi_arguments(args:T.List[str]) -> T.Tuple[bool, bool]Checks if the compiler has all of the arguments.
method
mesonbuild.compilers.compilers.Compiler.has_multi_link_arguments(args:T.List[str], to_host_args:bool=True) -> T.Tuple[bool, bool]Checks if the linker has all of the arguments.
method
mesonbuild.compilers.compilers.Compiler.native_args_to_unix(args:T.List[str]) -> T.List[str]Always returns a copy that can be independently mutated
method
mesonbuild.compilers.compilers.Compiler.sanity_check(work_dir:str) -> NoneCheck that this compiler actually works.
class
mesonbuild.compilers.cpp.ArmclangCPPCompilerKeil armclang
class
mesonbuild.compilers.cpp.Xc32CPPCompilerMicrochip XC32 C++ compiler.
class
mesonbuild.compilers.cython.CythonCompilerCython Compiler.
class
mesonbuild.compilers.d.DmdLikeCompilerMixinMixin class for DMD and LDC.
func
mesonbuild.compilers.detect.detect_cython_compiler(env:'Environment', for_machine:MachineChoice) -> CompilerSearch for a cython compiler.
class
mesonbuild.compilers.mixins.apple.AppleCPPStdsMixinProvide version overrides for the Apple C++ Compilers.
class
mesonbuild.compilers.mixins.apple.AppleCStdsMixinProvide version overrides for the Apple Compilers.
class
mesonbuild.compilers.mixins.arm.ArmCompilerFunctionality that is common to all ARM family compilers.
class
mesonbuild.compilers.mixins.arm.ArmclangCompilerThis is the Keil armclang.
class
mesonbuild.compilers.mixins.clike.CLikeCompilerShared bits for the C and CPP Compilers.
method
mesonbuild.compilers.mixins.clike.CLikeCompiler.has_function(funcname:str, prefix:str, *extra_args:T.Optional[T.List[str]]=None, *dependencies:T.Optional[T.List['Dependency']]=None) -> T.Tuple[bool, bool]Determine if a function exists.
class
mesonbuild.compilers.mixins.gnu.GnuCStdsMixin class for gcc based compilers for setting C standards.
class
mesonbuild.compilers.mixins.intel.IntelVisualStudioLikeCompilerAbstractions for ICL, the Intel compiler on Windows.
class
mesonbuild.compilers.mixins.microchip.Xc32CPPStdsMixin for setting C++ standards based on XC32 version.
class
mesonbuild.compilers.mixins.microchip.Xc32CStdsMixin for setting C standards based on XC32 version.
class
mesonbuild.compilers.mixins.microchip.Xc32CompilerMicrochip XC32 compiler mixin.
class
mesonbuild.compilers.mixins.visualstudio.ClangClCompilerSpecific to Clang-CL.
class
mesonbuild.compilers.mixins.visualstudio.MSVCCompilerSpecific to the Microsoft Compilers.
class
mesonbuild.compilers.rust.ClippyRustCompilerClippy is a linter that wraps Rustc.
class
mesonbuild.compilers.rust.RustdocTestCompilerWe invoke Rustdoc to run doctests.
class
mesonbuild.coredata.CMakeStateCacheClass that stores internal CMake compiler states.
class
mesonbuild.coredata.DependencyCacheClass that stores a cache of dependencies.
method
mesonbuild.coredata.DependencyCache.get(key:'TV_DepID') -> T.Optional['dependencies.Dependency']Get a value from the cache.
class
mesonbuild.dependencies.base.BuiltinDependencyDependency base for Builtin type dependencies.
method
mesonbuild.dependencies.base.Dependency.get_as_shared(recursive:bool) -> DependencyUsed as base case for internal_dependency
method
mesonbuild.dependencies.base.Dependency.get_as_static(recursive:bool) -> DependencyUsed as base case for internal_dependency
method
mesonbuild.dependencies.base.Dependency.get_extra_files() -> T.List[mesonlib.File]Mostly for introspection and IDEs
class
mesonbuild.dependencies.base.DependencyExceptionExceptions raised while trying to find dependencies
class
mesonbuild.dependencies.base.DependencyObjectKWsKeyword arguments that the Dependency IR object accepts.
class
mesonbuild.dependencies.base.MissingCompilerRepresent a None Compiler - when no tool chain is found.
class
mesonbuild.dependencies.base.SystemDependencyDependency base for System type dependencies.
func
mesonbuild.dependencies.base.strip_system_includedirs(environment:'Environment', for_machine:MachineChoice, include_args:T.List[str]) -> T.List[str]Remove -I<system path> arguments.
func
mesonbuild.dependencies.base.strip_system_libdirs(environment:'Environment', for_machine:MachineChoice, link_args:T.List[str]) -> T.List[str]Remove -L<system path> arguments.
class
mesonbuild.dependencies.coarrays.CoarrayDependencyCoarrays are a Fortran 2008 feature.
class
mesonbuild.dependencies.configtool.ConfigToolDependencyClass representing dependencies found using a config tool.
method
mesonbuild.dependencies.configtool.ConfigToolDependency.report_config(version:T.Optional[str], req_version:T.List[str]) -> boolHelper method to print messages about the tool.
class
mesonbuild.dependencies.factory.DependencyFactoryFactory to get dependencies from multiple sources.
class
mesonbuild.dependencies.hdf5.HDF5ConfigToolDependencyWrapper around hdf5 binary config tools.
class
mesonbuild.dependencies.hdf5.HDF5PkgConfigDependencyHandle brokenness in the HDF5 pkg-config files.
class
mesonbuild.dependencies.misc.CursesConfigToolDependencyUse the curses config tools.
class
mesonbuild.dependencies.misc.CursesSystemDependencyCurses dependency the hard way.
func
mesonbuild.dependencies.misc.shaderc_factory(env:'Environment', kwargs:DependencyObjectKWs, methods:T.List[DependencyMethods]) -> T.List['DependencyGenerator']Custom DependencyFactory for ShaderC.
class
mesonbuild.dependencies.mpi.IMPIDependencyIntel(R) MPI for Windows.
class
mesonbuild.dependencies.mpi.MPIConfigToolDependencyWrapper around mpicc, Intel's mpiicc and friends.
class
mesonbuild.dependencies.mpi.MSMPIDependencyThe Microsoft MPI.
class
mesonbuild.dependencies.pkgconfig.PkgConfigCLIpkg-config CLI implementation
class
mesonbuild.dependencies.pkgconfig.PkgConfigInterfaceBase class wrapping a pkg-config implementation
method
mesonbuild.dependencies.pkgconfig.PkgConfigInterface.found() -> boolReturn whether pkg-config is supported
method
mesonbuild.dependencies.pkgconfig.PkgConfigInterface.list_all() -> ImmutableListProtocol[str]Return all available pkg-config modules
method
mesonbuild.dependencies.pkgconfig.PkgConfigInterface.version(name:str) -> T.Optional[str]Return module version or None if not found
class
mesonbuild.dependencies.python.PythonBuildConfigPEP 739 build-details.json config file.
class
mesonbuild.dependencies.qt.QmakeQtDependencyFind Qt using Qmake as a config-tool.
class
mesonbuild.dependencies.qt.QtPkgConfigDependencySpecialization of the PkgConfigDependency for Qt.
class
mesonbuild.dependencies.scalapack.MKLPkgConfigDependencyPkgConfigDependency for Intel MKL.
func
mesonbuild.envconfig.detect_cpu_family(compilers:CompilerDict) -> strPython is inconsistent in its platform module.
func
mesonbuild.envconfig.detect_windows_arch(compilers:CompilerDict) -> strDetecting the 'native' architecture of Windows is not a trivial task.
method
mesonbuild.environment.Environment.get_jar_dir() -> strInstall dir for JAR files
method
mesonbuild.environment.Environment.get_shared_lib_dir() -> strInstall dir for the shared library
method
mesonbuild.environment.Environment.get_static_lib_dir() -> strInstall dir for the static library
class
mesonbuild.interpreter.interpreter.InterpreterRuleRelaxationDefines specific relaxations of the Meson rules.
class
mesonbuild.interpreter.kwargs.BaseBuildTargetArguments used by all BuildTarget like functions.
class
mesonbuild.interpreter.kwargs.BaseTestShared base for the Rust module.
class
mesonbuild.interpreter.kwargs.BuildTargetArguments shared by non-JAR functions
class
mesonbuild.interpreter.kwargs.FuncGeneratorKeyword rguments for the generator function.
class
mesonbuild.interpreter.kwargs.FuncTestKeyword Arguments for `test` but not `benchmark`
class
mesonbuild.interpreter.kwargs.GeneratorProcessKeyword Arguments for generator.process.
class
mesonbuild.interpreter.kwargs.LibraryFor library, both_library, and as a base for build_target
func
mesonbuild.interpreter.type_checking.in_set_validator(choices:T.Set[str]) -> T.Callable[[str], T.Optional[str]]Check that the choice given was one of the given set.
class
mesonbuild.interpreterbase.baseobjects.DefaultObjectA default value to a keyword argument.
class
mesonbuild.interpreterbase.baseobjects.MutableInterpreterObjectDummy class to mark the object type as mutable
class
mesonbuild.interpreterbase.decorators.ContainerTypeInfoContainer information for keyword arguments.
method
mesonbuild.interpreterbase.decorators.ContainerTypeInfo.check(value:T.Any) -> boolCheck that a value is valid.
method
mesonbuild.interpreterbase.decorators.ContainerTypeInfo.check_any(value:T.Any) -> boolCheck a value should emit new/deprecated feature.
method
mesonbuild.interpreterbase.decorators.ContainerTypeInfo.description() -> strHuman readable description of this container type.
class
mesonbuild.interpreterbase.decorators.FeatureBrokenChecks for broken features
class
mesonbuild.interpreterbase.decorators.FeatureCheckBaseBase class for feature version checks
class
mesonbuild.interpreterbase.decorators.FeatureDeprecatedChecks for deprecated features
class
mesonbuild.interpreterbase.decorators.FeatureNewChecks for new features
func
mesonbuild.interpreterbase.decorators.raw_description(t:object) -> strdescribe a raw type (ie, one that is not a ContainerTypeInfo).
func
mesonbuild.interpreterbase.decorators.typed_kwargs(name:str, *allow_unknown:bool=False, *types:KwargInfo) -> T.Callable[..., T.Any]Decorator for type checking keyword arguments.
class
mesonbuild.linkers.base.RSPFileSyntaxWhich RSP file syntax the compiler supports.
class
mesonbuild.linkers.linkers.AIXDynamicLinkerSys-V derived linker used on AIX
class
mesonbuild.linkers.linkers.AppleDynamicLinkerApple's ld implementation.
class
mesonbuild.linkers.linkers.ArmClangDynamicLinkerLinker used with ARM's clang fork.
class
mesonbuild.linkers.linkers.ArmDynamicLinkerLinker for the ARM compiler.
class
mesonbuild.linkers.linkers.CcrxDynamicLinkerLinker for Renesas CCrx compiler.
class
mesonbuild.linkers.linkers.ClangClDynamicLinkerClang's lld-link.exe.
class
mesonbuild.linkers.linkers.CompCertDynamicLinkerLinker for CompCert C compiler.
class
mesonbuild.linkers.linkers.CudaLinkerCuda linker (nvlink)
class
mesonbuild.linkers.linkers.DynamicLinkerBase class for dynamic linkers.
method
mesonbuild.linkers.linkers.DynamicLinker.fatal_warnings() -> T.List[str]Arguments to make all warnings errors.
method
mesonbuild.linkers.linkers.DynamicLinker.get_debugfile_args(targetfile:str) -> T.List[str]Some compilers (MSVC) write debug into a separate file.
method
mesonbuild.linkers.linkers.DynamicLinker.get_debugfile_name(targetfile:str) -> T.Optional[str]Name of debug file written out (see below)
method
mesonbuild.linkers.linkers.DynamicLinker.import_library_args(implibname:str) -> T.List[str]The name of the outputted import library.
class
mesonbuild.linkers.linkers.ELDDynamicLinkerQualcomm's opensource embedded linker
class
mesonbuild.linkers.linkers.GnuDynamicLinkerRepresentation of GNU ld.bfd and ld.gold.
class
mesonbuild.linkers.linkers.IntelVisualStudioLinkerIntel's xilib static linker.
class
mesonbuild.linkers.linkers.LLVMDynamicLinkerRepresentation of LLVM's ld.lld linker.
class
mesonbuild.linkers.linkers.MSVCDynamicLinkerMicrosoft's Link.exe.
class
mesonbuild.linkers.linkers.NAGDynamicLinkerNAG Fortran linker, ld via gcc indirection.
class
mesonbuild.linkers.linkers.OS2DynamicLinkerld and emxomfld
class
mesonbuild.linkers.linkers.OptlinkDynamicLinkerDigital Mars dynamic linker for windows.
class
mesonbuild.linkers.linkers.PGIDynamicLinkerPGI linker.
class
mesonbuild.linkers.linkers.PosixDynamicLinkerMixinMixin class for POSIX-ish linkers.
class
mesonbuild.linkers.linkers.QualcommLLVMDynamicLinkerARM Linker from Snapdragon LLVM ARM Compiler.
class
mesonbuild.linkers.linkers.SolarisDynamicLinkerSys-V derived linker used on Solaris and OpenSolaris.
class
mesonbuild.linkers.linkers.TIDynamicLinkerLinker for Texas Instruments compiler family.
class
mesonbuild.linkers.linkers.VisualStudioLinkerMicrosoft's lib static linker.
class
mesonbuild.linkers.linkers.WASMDynamicLinkerEmscripten's wasm-ld.
class
mesonbuild.linkers.linkers.Xc16DynamicLinkerLinker for Microchip XC16 compiler.
class
mesonbuild.linkers.linkers.Xc32ArLinkerStatic linker for Microchip XC32 compiler.
class
mesonbuild.linkers.linkers.Xc32DynamicLinkerLinker for Microchip XC32 compiler.
class
mesonbuild.linkers.linkers.XilinkDynamicLinkerIntel's Xilink.exe.
func
mesonbuild.mcompile.add_arguments(parser:'argparse.ArgumentParser') -> NoneAdd compile specific arguments.
func
mesonbuild.mdist.is_git(src_root:str) -> boolChecks if meson.build file at the root source directory is tracked by git.
func
mesonbuild.mformat.match_path(filename:str, pattern:str) -> boolrecursive glob match for editorconfig sections
func
mesonbuild.minit.run(options:Arguments) -> intHere we generate the new Meson sample project.
class
mesonbuild.minstall.ArgumentTypeTyping information for the object returned by argparse.
func
mesonbuild.minstall.check_for_stampfile(fname:str) -> strSome languages e.g.
func
mesonbuild.mlog.get_relative_path(target:Path, current:Path) -> PathGet the path to target from current
class
mesonbuild.modules.ModuleInfoMetadata about a Module.
class
mesonbuild.modules.ModuleObjectBase class for all objects returned by modules
class
mesonbuild.modules.ModuleStateObject passed to all module methods.
class
mesonbuild.modules.NewExtensionModuleClass for modern modules provides the found method.
class
mesonbuild.modules.NotFoundExtensionModuleClass for modern modules provides the found method.
class
mesonbuild.modules._qt.MocCompilerKwArgsKeyword arguments for the Moc Compiler method.
class
mesonbuild.modules._qt.ResourceCompilerKwArgsKeyword arguments for the Resource Compiler method.
class
mesonbuild.modules._qt.UICompilerKwArgsKeyword arguments for the Ui Compiler method.
class
mesonbuild.modules.codegen.CodeGenModuleModule with helpers for codegen wrappers.
class
mesonbuild.modules.fs.CopyKwKwargs for fs.copy
class
mesonbuild.modules.fs.ReadKwArgsKeyword Arguments for fs.read.
func
mesonbuild.modules.gnome.annotations_validator(annotations:T.List[T.Union[str, T.List[str]]]) -> T.Optional[str]Validate gdbus-codegen annotations argument
class
mesonbuild.modules.rust.RustCrateAbstract base class for Rust crate representations.
method
mesonbuild.modules.rust.RustCrate.all_features_method(state:ModuleState, args:T.List, kwargs:TYPE_kwargs) -> T.List[str]Returns all features for specific package.
method
mesonbuild.modules.rust.RustCrate.api_method(state:ModuleState, args:T.List, kwargs:TYPE_kwargs) -> strReturns the API version of the package.
method
mesonbuild.modules.rust.RustCrate.env_method(state:ModuleState, args:T.List, kwargs:TYPE_kwargs) -> T.Dict[str, str]Returns environment variables for this package.
method
mesonbuild.modules.rust.RustCrate.features_method(state:ModuleState, args:T.List, kwargs:TYPE_kwargs) -> T.List[str]Returns chosen features for specific package.
method
mesonbuild.modules.rust.RustCrate.name_method(state:ModuleState, args:T.List, kwargs:TYPE_kwargs) -> strReturns the name of the package.
method
mesonbuild.modules.rust.RustCrate.rust_args_method(state:ModuleState, args:T.List, kwargs:TYPE_kwargs) -> T.List[str]Returns rustc arguments for this package.
method
mesonbuild.modules.rust.RustCrate.rust_dependency_map_method(state:ModuleState, args:T.List, kwargs:TYPE_kwargs) -> T.Dict[str, str]Returns rust dependency mapping for this package.
method
mesonbuild.modules.rust.RustCrate.version_method(state:ModuleState, args:T.List, kwargs:TYPE_kwargs) -> strReturns the version of the package.
class
mesonbuild.modules.rust.RustModuleA module that holds helper functions for rust.
method
mesonbuild.modules.rust.RustModule.bindgen(state:ModuleState, args:T.List, kwargs:FuncBindgen) -> ModuleReturnValueWrapper around bindgen to simplify its use.
class
mesonbuild.modules.rust.RustPackageRepresents a Rust package within a workspace.
method
mesonbuild.modules.rust.RustPackage.dependencies_method(state:ModuleState, args:T.List, kwargs:RustPackageDependencies) -> T.List[Dependency]Returns the dependencies for this package.
class
mesonbuild.modules.rust.RustSubprojectRepresents a Cargo subproject.
class
mesonbuild.modules.sourceset.SourceSetBase class to avoid circular references.
class
mesonbuild.mtest.JunitBuilderBuilder for Junit test results.
method
mesonbuild.mtest.JunitBuilder.finish(harness:'TestHarness') -> NoneCalculate total test counts and write out the xml result.
method
mesonbuild.mtest.JunitBuilder.log(harness:'TestHarness', test:'TestRun') -> NoneLog a single test case.
func
mesonbuild.mtest.complete(future:asyncio.Future) -> NoneWait for completion of the given future, ignoring cancellation.
class
mesonbuild.options.EnumeratedUserOptionA generic UserOption that has enumerated values.
class
mesonbuild.options.OptionKeyRepresents an option key in the various option dictionaries.
method
mesonbuild.options.OptionKey.as_root() -> OptionKeyConvenience method for key.evolve(subproject='').
method
mesonbuild.options.OptionKey.from_string(raw:str) -> 'OptionKey'Parse the raw command line format into a three part tuple.
class
mesonbuild.options.UserStdOptionUserOption specific to c_std and cpp_std options.
func
mesonbuild.options.choices_are_different(a:_U, b:_U) -> boolAre the choices between two options the same?
class
mesonbuild.programs.ExternalProgramA program that is found on the system.
method
mesonbuild.programs.ExternalProgram.description() -> strHuman friendly description of the command
class
mesonbuild.programs.NonExistingExternalProgramA program that will never exist
class
mesonbuild.programs.ProgramA base class for LocalProgram and ExternalProgram.
method
mesonbuild.programs.Program.description() -> strHuman friendly description of the command
class
mesonbuild.templates.sampleimpl.ClassImplFor Class based languages, like Java and C#
class
mesonbuild.templates.sampleimpl.FileImplFile based languages without headers
class
mesonbuild.utils.core.MesonExceptionExceptions thrown by Meson
class
mesonbuild.utils.universal.ComparableProtocol for annotating comparable types.
class
mesonbuild.utils.universal.EnvironmentExceptionExceptions thrown while processing and creating the build environment
class
mesonbuild.utils.universal.LibTypeEnumeration for library types.
class
mesonbuild.utils.universal.PerThreeMachineLike `PerMachine` but includes `target` too.
method
mesonbuild.utils.universal.Range.always(inner:Range[_V]) -> T.Optional[bool]Check if inner is always true or always false given self.
class
mesonbuild.utils.universal.SecondLevelHolderA second level object holder.
class
mesonbuild.utils.universal.SimpleABCLightweight replacement for ``abc.ABCMeta``.
func
mesonbuild.utils.universal.has_path_sep(name:str, sep:str='/\\') -> boolChecks if any of the specified @sep path separators are in @name
func
mesonbuild.utils.universal.is_parent_path(parent:str, trial:str) -> boolChecks if @trial is a file under the directory @parent.
func
mesonbuild.utils.universal.unwrap(value:_T | None, msg:str | None=None) -> _TRemove None from a union type when it is a Meson bug.
func
mesonbuild.utils.universal.unwrap_err(value:_T | None, msg:str) -> _TRemove None from a union type when it is not a Meson bug.
func
mesonbuild.utils.universal.windows_detect_native_arch() -> strThe architecture of Windows itself: x86, amd64 or arm64
func
mesonbuild.utils.universal.windows_proof_rm(fpath:T.Union[str, Path]) -> NoneLike windows_proof_rmtree, but for a single file.
method
mesonbuild.wrap.wrap.Resolver.copy_tree(root_src_dir:str, root_dst_dir:str) -> NoneCopy directory tree.
func
mesonbuild.wrap.wrap.whitelist_wrapdb(urlstr:str) -> urllib.parse.ParseResultraises WrapException if not whitelisted subdomain
class
packaging.createmsi.NodeNode to hold path and directory values
method
packaging.createmsi.Node.check_files(files)Check to see if files is instance of list
class
packaging.createmsi.PackageGeneratorPackage generator for MSI packages
method
packaging.createmsi.PackageGenerator.build_features(top_feature, staging_dir)Generate build features
method
packaging.createmsi.PackageGenerator.create_xml(nodes, current_dir, parent_xml_node, staging_dir)Create XML file
func
packaging.createmsi.gen_guid()Generate guid
func
packaging.createmsi.is_nuget_source_active()Check if nuget source is active
func
packaging.createmsi.is_wixext_installed()Check if wix extension is installed
class
run_project_tests.ArgumentTypeTyping information for command line arguments.
func
run_tests.get_backend_args_for_dir(backend:Backend, builddir:str) -> T.List[str]Visual Studio backend needs to be given the solution to build
func
test cases.linuxlike.14 static dynamic linkage.verify_static.handle_common(path)Handle the common case.
func
test cases.linuxlike.14 static dynamic linkage.verify_static.handle_cygwin(path)Handle the Cygwin case.
func
test cases.linuxlike.14 static dynamic linkage.verify_static.main()Main function
class
unittests.allplatformstests.AllPlatformTestsTests that should run on all platforms
class
unittests.darwintests.DarwinTestsTests that should run on macOS
class
unittests.failuretests.FailureTestsTests that test failure conditions.
func
unittests.internaltests.InternalTests.mock_trial(value:str) -> T.Iterable[None]Mock all of the ways we could get the trial at once.
class
unittests.linuxcrosstests.LinuxCrossArmTestsTests that cross-compilation to Linux/ARM works
class
unittests.linuxcrosstests.LinuxCrossMingwTestsTests that cross-compilation to Windows/MinGW works
class
unittests.linuxliketests.LinuxlikeTestsTests that should run on Linux, macOS, and *BSD
class
unittests.pythontests.PythonTestsTests that verify compilation of python extension modules
class
unittests.windowstests.WindowsTestsTests that should run on Cygwin, MinGW, and MSVC
この情報について
掲載しているシグネチャは mesonbuild/meson の公開ソースコードを
Python の ast モジュールで静的解析し、引数名・デフォルト値・
型注釈・戻り値型をそのまま抽出したものです。実装コードは保存していません。
詳しくは仕組みの解説をご覧ください。