Lumiera 0.pre.04
»edit your freedom«
Loading...
Searching...
No Matches
Buildhelper.py File Reference

Go to the source code of this file.

Namespaces

namespace  Buildhelper
 

Classes

class  Record
 a set of properties with record style access. More...
 

Functions

 isCleanupOperation (env)
 
 isHelpRequest ()
 this is a hack: SCons does all configure tests even if only the help message is requested.
 
 srcSubtree (tree, **args)
 convenience wrapper: scan the given subtree, which is relative to the current SConscript, and find all source files.
 
 scanSubtree (roots, patterns=SRCPATTERNS)
 first expand (possible) wildcards and filter out non-dirs.
 
 globRootdirs (roots)
 helper: expand shell wildcards and filter the resulting list, so that it only contains existing directories
 
 findSrcTrees (location, patterns=SRCPATTERNS)
 find possible source tree roots, starting with the given location.
 
 isSrcDir (path, patterns=SRCPATTERNS)
 helper: investigate the given (relative) path
 
 getDirname (d, basePrefix=None)
 extract directory name without leading path, or without the explicitly given basePrefix
 
 stripPrefix (path, prefix)
 
 createPlugins (env, directory, **kw)
 investigate the given source directory to identify all contained source trees.
 
 checkCommandOption (env, optID, val=None, cmdName=None)
 evaluate and verify an option, which may point at a command.
 
 extract_localPathDefs (localDefs)
 extracts the directory configuration values.
 

Variables

list SRCPATTERNS = ['*.c','*.cpp','*.cc']