Lumiera 0.pre.04
»edit your freedom«
Loading...
Searching...
No Matches
Setup Namespace Reference

Functions

 defineBuildEnvironment ()
 create a custom build environment, define the basic compiler and linker flags, define locations in source and target tree, parse the commandline and pick up options
 
 appendCppDefine (env, var, cppVar, elseVal='')
 
 appendVal (env, var, targetVar, val=None)
 
 handleNoBugSwitches (env)
 set the build level for NoBug.
 
 handleVerboseMessages (env)
 toggle verbose build output
 

Variables

str TARGDIR = 'target'
 
str VERSION = '0.pre.04'
 
str TOOLDIR = './admin/scons'
 
str OPTCACHE = 'optcache'
 
str CUSTOPTFILE = 'custom-options'
 
str buildExe = '$TARGDIR'
 
str buildLib = '$TARGDIR/modules'
 
str buildPlug = '$TARGDIR/modules'
 
str buildIcon = '$TARGDIR/gui/icons'
 
str buildUIRes = '$TARGDIR/gui/'
 
str buildConf = '$TARGDIR/config'
 
str installExe = '$DESTDIR/lib/lumiera'
 
str installLib = '$DESTDIR/lib/lumiera/modules'
 
str installPlug = '$DESTDIR/lib/lumiera/modules'
 
str installIcon = '$DESTDIR/share/lumiera/icons'
 
str installUIRes = '$DESTDIR/share/lumiera/'
 
str installConf = '$DESTDIR/lib/lumiera/config'
 
str installDoc = '$DESTDIR/share/doc/lumiera/'
 
 buildSetup = Record(locals())
 

Function Documentation

◆ defineBuildEnvironment()

defineBuildEnvironment ( )

create a custom build environment, define the basic compiler and linker flags, define locations in source and target tree, parse the commandline and pick up options

Definition at line 54 of file Setup.py.

References appendCppDefine(), appendVal(), Options.defineCmdlineVariables(), handleNoBugSwitches(), handleVerboseMessages(), and Options.prepareOptionsHelp().

+ Here is the call graph for this function:

◆ appendCppDefine()

appendCppDefine (   env,
  var,
  cppVar,
  elseVal = '' 
)

Definition at line 94 of file Setup.py.

Referenced by defineBuildEnvironment().

+ Here is the caller graph for this function:

◆ appendVal()

appendVal (   env,
  var,
  targetVar,
  val = None 
)

Definition at line 100 of file Setup.py.

Referenced by defineBuildEnvironment().

+ Here is the caller graph for this function:

◆ handleNoBugSwitches()

handleNoBugSwitches (   env)

set the build level for NoBug.

Release builds imply no DEBUG whereas ALPHA and BETA require DEBUG

Definition at line 105 of file Setup.py.

Referenced by defineBuildEnvironment().

+ Here is the caller graph for this function:

◆ handleVerboseMessages()

handleVerboseMessages (   env)

toggle verbose build output

Definition at line 120 of file Setup.py.

Referenced by defineBuildEnvironment().

+ Here is the caller graph for this function:

Variable Documentation

◆ TARGDIR

str TARGDIR = 'target'

Definition at line 24 of file Setup.py.

◆ VERSION

str VERSION = '0.pre.04'

Definition at line 25 of file Setup.py.

◆ TOOLDIR

str TOOLDIR = './admin/scons'

Definition at line 26 of file Setup.py.

◆ OPTCACHE

str OPTCACHE = 'optcache'

Definition at line 27 of file Setup.py.

◆ CUSTOPTFILE

str CUSTOPTFILE = 'custom-options'

Definition at line 28 of file Setup.py.

◆ buildExe

str buildExe = '$TARGDIR'

Definition at line 31 of file Setup.py.

◆ buildLib

str buildLib = '$TARGDIR/modules'

Definition at line 32 of file Setup.py.

◆ buildPlug

str buildPlug = '$TARGDIR/modules'

Definition at line 33 of file Setup.py.

◆ buildIcon

str buildIcon = '$TARGDIR/gui/icons'

Definition at line 34 of file Setup.py.

◆ buildUIRes

str buildUIRes = '$TARGDIR/gui/'

Definition at line 35 of file Setup.py.

◆ buildConf

str buildConf = '$TARGDIR/config'

Definition at line 36 of file Setup.py.

◆ installExe

str installExe = '$DESTDIR/lib/lumiera'

Definition at line 37 of file Setup.py.

◆ installLib

str installLib = '$DESTDIR/lib/lumiera/modules'

Definition at line 38 of file Setup.py.

◆ installPlug

str installPlug = '$DESTDIR/lib/lumiera/modules'

Definition at line 39 of file Setup.py.

◆ installIcon

str installIcon = '$DESTDIR/share/lumiera/icons'

Definition at line 40 of file Setup.py.

◆ installUIRes

str installUIRes = '$DESTDIR/share/lumiera/'

Definition at line 41 of file Setup.py.

◆ installConf

str installConf = '$DESTDIR/lib/lumiera/config'

Definition at line 42 of file Setup.py.

◆ installDoc

str installDoc = '$DESTDIR/share/doc/lumiera/'

Definition at line 43 of file Setup.py.

◆ buildSetup

buildSetup = Record(locals())

Definition at line 47 of file Setup.py.