Builders and other things for the local site. Here's where we'll
duplicate the functionality of autoconf until we move it into the
installation procedure or use something like qmconf.
The code that reads the registry to find MSVC components was borrowed
from distutils.msvccompiler.
|
_fetch_DefaultEnvironment(*args,
**kw)
Returns the already-created default construction environment. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
copy_func(dest,
src,
symlinks=True)
If symlinks (is true), then a symbolic link will be
shallow copied and recreated as a symbolic link; otherwise, copying
a symbolic link will be equivalent to copying the symbolic link's
final target regardless of symbolic link depth. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
_concat(prefix,
list,
suffix,
env,
f=<function <lambda> at 0x9e4fb54>,
target=None,
source=None)
Creates a new list from 'list' by first interpolating each element
in the list using the 'env' dictionary and then calling f on the
list, and finally calling _concat_ixes to concatenate 'prefix' and
'suffix' onto each element of the list. |
source code
|
|
|
_concat_ixes(prefix,
list,
suffix,
env)
Creates a new list from 'list' by concatenating the 'prefix' and
'suffix' arguments onto each element of the list. A trailing space
on 'prefix' or leading space on 'suffix' will cause them to be put
into separate list elements rather than being concatenated. |
source code
|
|
|
_stripixes(prefix,
itms,
suffix,
stripprefixes,
stripsuffixes,
env,
c=None)
This is a wrapper around _concat()/_concat_ixes() that checks for
the existence of prefixes or suffixes on list items and strips them
where it finds them. This is used by tools (like the GNU linker)
that need to turn something like 'libfoo.a' into '-lfoo'. |
source code
|
|
|
processDefines(defs)
process defines, resolving strings, lists, dictionaries, into a list of
strings |
source code
|
|
|
_defines(prefix,
defs,
suffix,
env,
c=<function _concat_ixes at 0x9e4fbc4>)
A wrapper around _concat_ixes that turns a list or string
into a list of C preprocessor command-line definitions. |
source code
|
|
|
__revision__ = ' src/engine/SCons/Defaults.py 2014/09/27 12:51 ...
|
|
_default_env = None
hash(x)
|
|
SharedCheck = SCons.Action.Action(SharedFlagChecker, None)
|
|
CScan = SCons.Defaults.CScan
|
|
DScan = SCons.Tool.DScanner
|
|
LaTeXScan = SCons.Tool.LaTeXScanner
|
|
ObjSourceScan = SCons.Tool.SourceFileScanner
|
|
ProgScan = SCons.Tool.ProgramScanner
|
|
DirScanner = SCons.Defaults.DirScanner
|
|
DirEntryScanner = SCons.Scanner.Dir.DirEntryScanner()
|
|
CAction = SCons.Action.Action("$CCCOM", "$CCCOMSTR")
|
|
ShCAction = SCons.Action.Action("$SHCCCOM", "$SHCCCOMSTR")
|
|
CXXAction = SCons.Action.Action("$CXXCOM", "$CXXCOMSTR")
|
|
ShCXXAction = SCons.Action.Action("$SHCXXCOM", "$SHCXXCOMSTR")
|
|
DAction = SCons.Action.Action("$DCOM", "$DCOMSTR")
|
|
ShDAction = SCons.Action.Action("$SHDCOM", "$SHDCOMSTR")
|
|
ASAction = SCons.Action.Action("$ASCOM", "$ASCOMSTR")
|
|
ASPPAction = SCons.Action.Action("$ASPPCOM", "$ASPPCOMSTR")
|
|
LinkAction = SCons.Action.Action("$LINKCOM", "$LINKCOMSTR")
|
|
ShLinkAction = SCons.Action.Action("$SHLINKCOM", "$SHLINKCOMSTR")
|
|
LdModuleLinkAction = SCons.Action.Action("$LDMODULECOM", "$LDM...
|
|
Chmod = SCons.Defaults.Chmod
|
|
Copy = SCons.Defaults.Copy
|
|
Delete = SCons.Defaults.Delete
|
|
Mkdir = SCons.Defaults.Mkdir
|
|
Move = SCons.Defaults.Move
|
|
Touch = SCons.Defaults.Touch
|
|
ConstructionEnvironment = { ' BUILDERS ' : { } , ' CONFIGUREDIR ' : ' #/ ...
|
|
__package__ = ' SCons '
|