![]() |
Lumiera 0.pre.04
»edit your freedom«
|
Custom SCons build environment for Lumiera This allows us to carry structured config data without using global vars.
Idea inspired by Ardour.
Definition at line 27 of file LumieraEnvironment.py.
Public Attributes | |
| path | |
| libInfo | |
Public Member Functions | |
| __init__ (self, buildSetup, buildVars, **kw) | |
| Configure (self, *args, **kw) | |
| mergeConf (self, other) | |
| extract the library/compiler flags from other Environment. | |
| addLibInfo (self, libID, minVersion=0, alias=None) | |
| use pkg-config to create an Environment describing the lib. | |
Protected Member Functions | |
| _anchor_relative (self, key) | |
| ensure that a relative path spec becomes anchored at build-root | |
| __init__ | ( | self, | |
| buildSetup, | |||
| buildVars, | |||
| ** | kw | ||
| ) |
Definition at line 32 of file LumieraEnvironment.py.
References LumieraEnvironment._anchor_relative().
Here is the call graph for this function:
|
protected |
ensure that a relative path spec becomes anchored at build-root
Definition at line 53 of file LumieraEnvironment.py.
Referenced by LumieraEnvironment.__init__().
Here is the caller graph for this function:| Configure | ( | self, | |
| * | args, | ||
| ** | kw | ||
| ) |
Definition at line 64 of file LumieraEnvironment.py.
| mergeConf | ( | self, | |
| other | |||
| ) |
extract the library/compiler flags from other Environment.
Optionally accepts a list or just sting(s) representing keys in our own libInfo Dictionary
Definition at line 68 of file LumieraEnvironment.py.
References LumieraEnvironment.libInfo, and LumieraEnvironment.mergeConf().
Referenced by LumieraEnvironment.mergeConf().
Here is the call graph for this function:
Here is the caller graph for this function:| addLibInfo | ( | self, | |
| libID, | |||
minVersion = 0, |
|||
alias = None |
|||
| ) |
use pkg-config to create an Environment describing the lib.
Don't add this defs to the current Environment, rather store them in the libInfo Dictionary.
Definition at line 88 of file LumieraEnvironment.py.
References LumieraEnvironment.libInfo.
| path |
Definition at line 44 of file LumieraEnvironment.py.
| libInfo |
Definition at line 45 of file LumieraEnvironment.py.
Referenced by LumieraEnvironment.addLibInfo(), and LumieraEnvironment.mergeConf().
Inheritance diagram for LumieraEnvironment:
Collaboration diagram for LumieraEnvironment: