yambs.environment.native
index
/home/vkottler/src/vkottler/workspace/yambs/yambs/environment/native.py

A module implementing a native-build environment.

 
Classes
       
vcorelib.logging.LoggerMixin(builtins.object)
NativeBuildEnvironment

 
class NativeBuildEnvironment(vcorelib.logging.LoggerMixin)
    NativeBuildEnvironment(config: yambs.config.native.Native) -> None
 
A class implementing a native-build environment.
 
 
Method resolution order:
NativeBuildEnvironment
vcorelib.logging.LoggerMixin
builtins.object

Methods defined here:
__init__(self, config: yambs.config.native.Native) -> None
Initialize this instance.
generate(self, sources_only: bool = False) -> None
Generate ninja files.
render(self, root: pathlib.Path, name: str) -> None
Render a template.
write_app_rules(self, stream: <class 'TextIO'>, outputs: Set[pathlib.Path], uf2_family: str = None, wasm: bool = False) -> Dict[pathlib.Path, pathlib.Path]
Write app rules.
write_compile_line(self, stream: <class 'TextIO'>, path: pathlib.Path, wasm: bool = False) -> pathlib.Path
Write a single source-compile line.
write_source_rules(self, stream: <class 'TextIO'>, wasm: bool = False) -> Set[pathlib.Path]
Write source rules.
write_static_library_rule(self, stream: <class 'TextIO'>, outputs: Set[pathlib.Path]) -> pathlib.Path
Create a rule for a static library output.
write_third_party_line(self, stream: <class 'TextIO'>, path: pathlib.Path, wasm: bool = False) -> Optional[pathlib.Path]
Write a single source-compile line for a third-party source.

Data and other attributes defined here:
__annotations__ = {}

Methods inherited from vcorelib.logging.LoggerMixin:
log_time(self, message: str, *args, level: int = 20, reminder: bool = False, **kwargs) -> Iterator[NoneType]
A simple wrapper.

Data descriptors inherited from vcorelib.logging.LoggerMixin:
__dict__
dictionary for instance variables
__weakref__
list of weak references to the object

 
Data
        APP_ROOT = 'apps'
ARBITER = <vcorelib.io.arbiter.DataArbiter object>
BUILD_DIR_PATH = PosixPath('$build_dir')
Dict = typing.Dict
Optional = typing.Optional
Set = typing.Set
linesep = '\n'