|
|
|
@ -34,14 +34,14 @@ import typing as T |
|
|
|
|
|
|
|
|
|
if T.TYPE_CHECKING: |
|
|
|
|
from . import dependencies |
|
|
|
|
from .compilers.compilers import Compiler |
|
|
|
|
from .compilers.compilers import Compiler, CompileResult |
|
|
|
|
from .environment import Environment |
|
|
|
|
from .mesonlib import OptionOverrideProxy, FileOrString |
|
|
|
|
from .cmake.traceparser import CMakeCacheEntry |
|
|
|
|
|
|
|
|
|
OptionDictType = T.Union[T.Dict[str, 'UserOption[T.Any]'], OptionOverrideProxy] |
|
|
|
|
KeyedOptionDictType = T.Union[T.Dict['OptionKey', 'UserOption[T.Any]'], OptionOverrideProxy] |
|
|
|
|
CompilerCheckCacheKey = T.Tuple[T.Tuple[str, ...], str, 'FileOrString', T.Tuple[str, ...], str] |
|
|
|
|
CompilerCheckCacheKey = T.Tuple[T.Tuple[str, ...], str, FileOrString, T.Tuple[str, ...], str] |
|
|
|
|
|
|
|
|
|
version = '0.59.99' |
|
|
|
|
backendlist = ['ninja', 'vs', 'vs2010', 'vs2012', 'vs2013', 'vs2015', 'vs2017', 'vs2019', 'xcode'] |
|
|
|
@ -267,7 +267,7 @@ class UserFeatureOption(UserComboOption): |
|
|
|
|
return self.value == 'auto' |
|
|
|
|
|
|
|
|
|
if T.TYPE_CHECKING: |
|
|
|
|
from .dependencies.detect import TV_DepIDEntry, TV_DepID |
|
|
|
|
from .dependencies.detect import TV_DepID |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class DependencyCacheType(enum.Enum): |
|
|
|
@ -442,7 +442,7 @@ class CoreData: |
|
|
|
|
DependencyCache(self.options, MachineChoice.BUILD), |
|
|
|
|
DependencyCache(self.options, MachineChoice.HOST)) |
|
|
|
|
|
|
|
|
|
self.compiler_check_cache = OrderedDict() # type: T.Dict[CompilerCheckCacheKey, compiler.CompileResult] |
|
|
|
|
self.compiler_check_cache: T.Dict['CompilerCheckCacheKey', 'CompileResult'] = OrderedDict() |
|
|
|
|
|
|
|
|
|
# CMake cache |
|
|
|
|
self.cmake_cache: PerMachine[CMakeStateCache] = PerMachine(CMakeStateCache(), CMakeStateCache()) |
|
|
|
|