Lumiera
0.pre.03
»edit your freedom«
|
Helper to add customisations and default configurations to SCons standard builders. The original builder object is wrapped and most calls are simply forwarded to this wrapped object by Python magic. But some calls are intercepted in order to inject suitable default configuration based on the project setup.
Definition at line 205 of file LumieraEnvironment.py.
Public Member Functions | |
def | __init__ (self, originalBuilder) |
def | __call__ (self, env, target=None, source=None, kw) |
def | __nonzero__ (self) |
def | buildLocation (self, env, target) |
def | installTarget (self, env, buildTarget, kw) |
def | invokeOriginalBuilder (self, env, target, source, kw) |
def __call__ | ( | self, | |
env, | |||
target = None , |
|||
source = None , |
|||
kw | |||
) |
when the builder gets invoked from the SConscript... create a clone environment for specific configuration and then pass on the call to the wrapped original builder. Automatically define installation targets for build results. @note only returning the build targets, not the install targets
Definition at line 217 of file LumieraEnvironment.py.
References WrappedStandardExeBuilder.buildLocation(), Arguments.get(), TypedArguments< TUP >.get(), TypedArguments< Tuple< ArgType >.get(), PlaybackController.get(), NullValue< TY >.get(), NullValue< Tracker< string >.get(), Config.get(), EngineConfig.get, Tag< TOOL >.get(), P< const asset::ProcPatt >.get(), P< ELM >.get(), P< XX >.get(), P< TAR > o o.get(), P< CHI >.get(), P< PAR >.get(), P< KIND >.get(), P< Asset >.get(), P< Media >.get(), P< Proc >.get(), P< Sequence >.get(), P< Struct >.get(), P< Meta >.get(), P< Pipe >.get(), P< Clip >.get(), P< ProcPatt >.get(), P< Timeline >.get(), P< X, string >.get(), P< TimeGrid >.get(), P< ErrorLog >.get(), P< TimeVar >.get(), P< TY >.get(), P< X >.get(), P< XX, P< X >.get(), P< XX, shared_ptr< X >.get(), P< XX, shared_ptr< long >.get(), P< string >.get(), P< TAR > storedObj storedObj.get(), P< TAR > storedObj.get(), P< TAR, BASE >.get(), P< steam::asset::meta::TimeGrid >.get(), P< Dummy< 13 > >.get(), P< asset::Sequence >.get(), P< TAR >.get(), P< asset::Timeline >.get(), P< TableEntry >.get(), ModelPortRegistry.get(), BasicSetup.get(), MenuButton.get(), HandlingPattern.get(), LuidH.get(), TypedContext< CX >::ID< TY >.get(), ViewLocator.get(), DB.get(), StorageFrame< seg, DATA >.get(), StorageFrame< seg, DATA... >.get(), ReplaceableItem< MEM >.get(), ReplaceableItem< X, COND >.get(), Command.get(), SessionServices< APIS, FRONT, SESS >.get(), Wrapped_Identity< IT >.get(), Column< VAL >.get(), Column< double >.get(), Column< int >.get(), Column< string >.get(), Column< Param >.get(), Wrapped_PickKey< IT >.get(), TSessionServices< IMPS, FRONT, SESS >.get(), TypedCounter.get(), Wrapped_PickVal< IT >.get(), Wrapped_PickConstVal< IT >.get(), ReplaceableItem< X, meta::enable_if< is_assignable_value< X > > >.get(), HeteroData< meta::Node< StorageFrame< seg, DATA... >, TAIL > >.get(), DataCap.get(), ScopedPtrVect< T >.get(), ScopedPtrVect< steam::node::DummyTick >.get(), ScopedPtrVect< steam::engine::diagn::Block >.get(), ScopedPtrVect< OutputSlot >.get(), ScopedPtrVect< node::DummyTick >.get(), ScopedPtrVect< Gtk::Widget >.get(), ScopedPtrVect< DisplayerSlot >.get(), ScopedHolder< TI >.get(), ScopedHolder< TY >.get(), ScopedHolder< PoolVec >.get(), HeteroData< meta::Node< StorageFrame< seg, DATA... >, TAIL > >::Accessor< slot >.get(), InstanceHandle< LUMIERA_INTERFACE_INAME(lumieraorg_GuiNotification, 0), GuiNotification >.get(), InstanceHandle< LUMIERA_INTERFACE_INAME(lumieraorg_SessionCommand, 0), SessionCommand >.get(), InstanceHandle< LUMIERA_INTERFACE_INAME(lumieraorg_Gui, 1)>.get(), InstanceHandle< LUMIERA_INTERFACE_INAME(lumieraorg_DummyPlayer, 0), DummyPlayer >.get(), Record< VAL >.get(), InstanceHandle< I, FA >.get(), InstanceHandle< LUMIERA_INTERFACE_INAME(lumieraorg_Display, 0), lumiera::Display >.get(), InPlaceAnyHolder< siz, AccessPolicy >::Buff< SUB >.get(), VariantO< TYPES, Access >.get(), VariantO< steam::WrapperTypes, util::AccessCasted_O >.get(), SelectVararg< idx >.get(), SelectVararg< i >.get(), SelectVararg< 0 >.get(), SelectOrInit< false, DEFAULT, idx >.get(), InPlaceAnyHolder< siz, InPlaceAnyHolder_useCommonBase< TargetSpec > >.get(), InPlaceAnyHolder< siz, AccessPolicy >.get(), InPlaceAnyHolder< siz, InPlaceAnyHolder_useCommonBase< BA > >.get(), Variant< DataValues >.get(), Variant< TYPES >.get(), DataCap::Locator.get(), RecordRef< VAL >.get(), RecordRef< string >.get(), BufferMetadata.get(), PlantingHandle< BA, DEFAULT >.get(), LumieraExeBuilder.getCustomEnvironment(), LumieraModuleBuilder.getCustomEnvironment(), LumieraPluginBuilder.getCustomEnvironment(), WrappedStandardExeBuilder.installTarget(), and WrappedStandardExeBuilder.invokeOriginalBuilder().
def buildLocation | ( | self, | |
env, | |||
target | |||
) |
prefix project output directory
Definition at line 234 of file LumieraEnvironment.py.
References LumieraExeBuilder.getBuildDestination(), LumieraModuleBuilder.getBuildDestination(), and LumieraPluginBuilder.getBuildDestination().
Referenced by WrappedStandardExeBuilder.__call__().
def installTarget | ( | self, | |
env, | |||
buildTarget, | |||
kw | |||
) |
create an additional installation target for the generated executable artifact
Definition at line 239 of file LumieraEnvironment.py.
References LumieraExeBuilder.getInstallDestination(), LumieraModuleBuilder.getInstallDestination(), and LumieraPluginBuilder.getInstallDestination().
Referenced by WrappedStandardExeBuilder.__call__().