yambs.generate.variants
index
/home/vkottler/src/vkottler/workspace/yambs/yambs/generate/variants.py

A module for generating variant-related files.

 
Functions
       
generate(jinja: jinja2.environment.Environment, config: yambs.config.common.CommonConfig, cflag_groups: Dict[str, List[str]], ldflag_groups: Dict[str, List[str]]) -> None
Generate variant-related ninja files.
modified_variant_data(name: str, data: Dict[str, Any], cflag_groups: Dict[str, List[str]], ldflag_groups: Dict[str, List[str]]) -> Iterator[NoneType]
Ensure that cflag groups are processed, and that the variant has access to
its name while rendering.

 
Data
        Dict = typing.Dict
FlagGroups = typing.Dict[str, typing.List[str]]
Iterator = typing.Iterator
List = typing.List