Package SCons :: Package Script
[hide private]
[frames] | no frames]

Package Script

source code

SCons.Script

This file implements the main() function used by the scons script.

Architecturally, this is the scons script, and will likely only be called from the external "scons" wrapper. Consequently, anything here should not be, or be considered, part of the build engine. If it's something that we expect other software to want to use, it should go in some other module. If it's specific to the "scons" script invocation, it goes here.

Submodules [hide private]

Classes [hide private]
  TargetList
Functions [hide private]
 
_Add_Arguments(alist) source code
 
_Add_Targets(tlist) source code
 
_Set_Default_Targets_Has_Been_Called(d, fs) source code
 
_Set_Default_Targets_Has_Not_Been_Called(d, fs) source code
 
_Get_Default_Targets(d, fs) source code
 
_Set_Default_Targets(env, tlist) source code
 
HelpFunction(text) source code
 
Variables(files=[], args={}) source code
 
Options(files=[], args={}) source code
Variables [hide private]
  __revision__ = 'src/engine/SCons/Script/__init__.py rel_2.3.5:...
  start_time = 1438378833.35
  call_stack = []
  PathVariable = SCons.Variables.PathVariable
  PathOption = SCons.Options.PathOption
  Chmod = SCons.Defaults.Chmod
  Copy = SCons.Defaults.Copy
  Delete = SCons.Defaults.Delete
  Mkdir = SCons.Defaults.Mkdir
  Move = SCons.Defaults.Move
  Touch = SCons.Defaults.Touch
  CScanner = SCons.Defaults.CScan
  DScanner = SCons.Tool.DScanner
  DirScanner = SCons.Defaults.DirScanner
  ProgramScanner = SCons.Tool.ProgramScanner
  SourceFileScanner = SCons.Tool.SourceFileScanner
  CScan = SCons.Defaults.CScan
  ARGUMENTS = {}
  ARGLIST = []
  BUILD_TARGETS = []
  COMMAND_LINE_TARGETS = []
  DEFAULT_TARGETS = []
  _build_plus_default = []
  help_text = None
hash(x)
  sconscript_reading = 0
  GlobalDefaultEnvironmentFunctions = ['Default', 'EnsurePythonV...
  GlobalDefaultBuilders = ['CFile', 'CXXFile', 'DVI', 'Jar', 'Ja...
  SConscript = _SConscript.DefaultEnvironmentCall('SConscript')
  Command = _SConscript.DefaultEnvironmentCall('Command', subst= 1)
  AddPostAction = <SCons.Script.SConscript.DefaultEnvironmentCal...
  AddPreAction = <SCons.Script.SConscript.DefaultEnvironmentCall...
  Alias = <SCons.Script.SConscript.DefaultEnvironmentCall object...
  AlwaysBuild = <SCons.Script.SConscript.DefaultEnvironmentCall ...
  BuildDir = <SCons.Script.SConscript.DefaultEnvironmentCall obj...
  CFile = <SCons.Script.SConscript.DefaultEnvironmentCall object...
  CXXFile = <SCons.Script.SConscript.DefaultEnvironmentCall obje...
  CacheDir = <SCons.Script.SConscript.DefaultEnvironmentCall obj...
  Clean = <SCons.Script.SConscript.DefaultEnvironmentCall object...
  DVI = <SCons.Script.SConscript.DefaultEnvironmentCall object a...
  Decider = <SCons.Script.SConscript.DefaultEnvironmentCall obje...
  Default = <SCons.Script.SConscript.DefaultEnvironmentCall obje...
  Depends = <SCons.Script.SConscript.DefaultEnvironmentCall obje...
  Dir = <SCons.Script.SConscript.DefaultEnvironmentCall object a...
  EnsurePythonVersion = <SCons.Script.SConscript.DefaultEnvironm...
  EnsureSConsVersion = <SCons.Script.SConscript.DefaultEnvironme...
  Entry = <SCons.Script.SConscript.DefaultEnvironmentCall object...
  Execute = <SCons.Script.SConscript.DefaultEnvironmentCall obje...
  Exit = <SCons.Script.SConscript.DefaultEnvironmentCall object ...
  Export = <SCons.Script.SConscript.DefaultEnvironmentCall objec...
  File = <SCons.Script.SConscript.DefaultEnvironmentCall object ...
  FindFile = <SCons.Script.SConscript.DefaultEnvironmentCall obj...
  FindInstalledFiles = <SCons.Script.SConscript.DefaultEnvironme...
  FindSourceFiles = <SCons.Script.SConscript.DefaultEnvironmentC...
  Flatten = <SCons.Script.SConscript.DefaultEnvironmentCall obje...
  GetBuildPath = <SCons.Script.SConscript.DefaultEnvironmentCall...
  GetLaunchDir = <SCons.Script.SConscript.DefaultEnvironmentCall...
  Glob = <SCons.Script.SConscript.DefaultEnvironmentCall object ...
  Help = <SCons.Script.SConscript.DefaultEnvironmentCall object ...
  Ignore = <SCons.Script.SConscript.DefaultEnvironmentCall objec...
  Import = <SCons.Script.SConscript.DefaultEnvironmentCall objec...
  Install = <SCons.Script.SConscript.DefaultEnvironmentCall obje...
  InstallAs = <SCons.Script.SConscript.DefaultEnvironmentCall ob...
  Jar = <SCons.Script.SConscript.DefaultEnvironmentCall object a...
  Java = <SCons.Script.SConscript.DefaultEnvironmentCall object ...
  JavaH = <SCons.Script.SConscript.DefaultEnvironmentCall object...
  Library = <SCons.Script.SConscript.DefaultEnvironmentCall obje...
  Literal = <SCons.Script.SConscript.DefaultEnvironmentCall obje...
  Local = <SCons.Script.SConscript.DefaultEnvironmentCall object...
  M4 = <SCons.Script.SConscript.DefaultEnvironmentCall object at...
  MSVSProject = <SCons.Script.SConscript.DefaultEnvironmentCall ...
  NoCache = <SCons.Script.SConscript.DefaultEnvironmentCall obje...
  NoClean = <SCons.Script.SConscript.DefaultEnvironmentCall obje...
  Object = <SCons.Script.SConscript.DefaultEnvironmentCall objec...
  PCH = <SCons.Script.SConscript.DefaultEnvironmentCall object a...
  PDF = <SCons.Script.SConscript.DefaultEnvironmentCall object a...
  Package = <SCons.Script.SConscript.DefaultEnvironmentCall obje...
  ParseDepends = <SCons.Script.SConscript.DefaultEnvironmentCall...
  PostScript = <SCons.Script.SConscript.DefaultEnvironmentCall o...
  Precious = <SCons.Script.SConscript.DefaultEnvironmentCall obj...
  Program = <SCons.Script.SConscript.DefaultEnvironmentCall obje...
  RES = <SCons.Script.SConscript.DefaultEnvironmentCall object a...
  RMIC = <SCons.Script.SConscript.DefaultEnvironmentCall object ...
  Repository = <SCons.Script.SConscript.DefaultEnvironmentCall o...
  Requires = <SCons.Script.SConscript.DefaultEnvironmentCall obj...
  SConscriptChdir = <SCons.Script.SConscript.DefaultEnvironmentC...
  SConsignFile = <SCons.Script.SConscript.DefaultEnvironmentCall...
  SharedLibrary = <SCons.Script.SConscript.DefaultEnvironmentCal...
  SharedObject = <SCons.Script.SConscript.DefaultEnvironmentCall...
  SideEffect = <SCons.Script.SConscript.DefaultEnvironmentCall o...
  SourceCode = <SCons.Script.SConscript.DefaultEnvironmentCall o...
  SourceSignatures = <SCons.Script.SConscript.DefaultEnvironment...
  Split = <SCons.Script.SConscript.DefaultEnvironmentCall object...
  StaticLibrary = <SCons.Script.SConscript.DefaultEnvironmentCal...
  StaticObject = <SCons.Script.SConscript.DefaultEnvironmentCall...
  Tag = <SCons.Script.SConscript.DefaultEnvironmentCall object a...
  Tar = <SCons.Script.SConscript.DefaultEnvironmentCall object a...
  TargetSignatures = <SCons.Script.SConscript.DefaultEnvironment...
  TypeLibrary = <SCons.Script.SConscript.DefaultEnvironmentCall ...
  Value = <SCons.Script.SConscript.DefaultEnvironmentCall object...
  VariantDir = <SCons.Script.SConscript.DefaultEnvironmentCall o...
  Zip = <SCons.Script.SConscript.DefaultEnvironmentCall object a...
  __package__ = 'SCons.Script'
Variables Details [hide private]

__revision__

Value:
'src/engine/SCons/Script/__init__.py rel_2.3.5:3347:d31d5a4e74b6 2015/\
07/31 14:36:10 bdbaddog'

GlobalDefaultEnvironmentFunctions

Value:
['Default',
 'EnsurePythonVersion',
 'EnsureSConsVersion',
 'Exit',
 'Export',
 'GetLaunchDir',
 'Help',
 'Import',
...

GlobalDefaultBuilders

Value:
['CFile',
 'CXXFile',
 'DVI',
 'Jar',
 'Java',
 'JavaH',
 'Library',
 'M4',
...

AddPostAction

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0x7fc4dfad9d\
10>

AddPreAction

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0x7fc4dfad9d\
50>

Alias

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0x7fc4dfad9d\
90>

AlwaysBuild

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0x7fc4dfad9d\
d0>

BuildDir

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0x7fc4dfad9e\
10>

CFile

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0x7fc4dfb6a7\
10>

CXXFile

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0x7fc4dfb6a7\
50>

CacheDir

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0x7fc4dfad9e\
50>

Clean

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0x7fc4dfad9e\
90>

DVI

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0x7fc4dfb6a7\
90>

Decider

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0x7fc4dfad9e\
d0>

Default

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0x7fc4dfad9a\
d0>

Depends

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0x7fc4dfad9f\
10>

Dir

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0x7fc4dfad9f\
50>

EnsurePythonVersion

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0x7fc4dfad9b\
10>

EnsureSConsVersion

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0x7fc4dfad9b\
50>

Entry

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0x7fc4dfb6a0\
50>

Execute

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0x7fc4dfb6a0\
90>

Exit

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0x7fc4dfad9b\
90>

Export

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0x7fc4dfad9b\
d0>

File

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0x7fc4dfb6a0\
d0>

FindFile

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0x7fc4dfb6a1\
10>

FindInstalledFiles

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0x7fc4dfb6a1\
50>

FindSourceFiles

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0x7fc4dfb6a1\
90>

Flatten

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0x7fc4dfb6a1\
d0>

GetBuildPath

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0x7fc4dfb6a2\
10>

GetLaunchDir

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0x7fc4dfad9c\
10>

Glob

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0x7fc4dfb6a2\
50>

Help

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0x7fc4dfad9c\
50>

Ignore

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0x7fc4dfb6a2\
90>

Import

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0x7fc4dfad9c\
90>

Install

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0x7fc4dfb6a2\
d0>

InstallAs

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0x7fc4dfb6a3\
10>

Jar

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0x7fc4dfb6a7\
d0>

Java

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0x7fc4dfb6a8\
10>

JavaH

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0x7fc4dfb6a8\
50>

Library

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0x7fc4dfb6a8\
90>

Literal

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0x7fc4dfb6a3\
50>

Local

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0x7fc4dfb6a3\
90>

M4

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0x7fc4dfb6a8\
d0>

MSVSProject

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0x7fc4dfb6a9\
10>

NoCache

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0x7fc4dfad9f\
d0>

NoClean

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0x7fc4dfad9f\
90>

Object

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0x7fc4dfb6a9\
50>

PCH

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0x7fc4dfb6a9\
90>

PDF

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0x7fc4dfb6a9\
d0>

Package

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0x7fc4dfb6ac\
d0>

ParseDepends

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0x7fc4dfb6a3\
d0>

PostScript

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0x7fc4dfb6aa\
10>

Precious

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0x7fc4dfb6a4\
10>

Program

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0x7fc4dfb6aa\
50>

RES

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0x7fc4dfb6aa\
90>

RMIC

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0x7fc4dfb6aa\
d0>

Repository

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0x7fc4dfb6a4\
50>

Requires

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0x7fc4dfb6a4\
90>

SConscriptChdir

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0x7fc4dfad9c\
d0>

SConsignFile

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0x7fc4dfb6a4\
d0>

SharedLibrary

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0x7fc4dfb6ab\
10>

SharedObject

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0x7fc4dfb6ab\
50>

SideEffect

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0x7fc4dfb6a5\
10>

SourceCode

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0x7fc4dfb6a5\
50>

SourceSignatures

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0x7fc4dfb6a5\
90>

Split

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0x7fc4dfb6a5\
d0>

StaticLibrary

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0x7fc4dfb6ab\
90>

StaticObject

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0x7fc4dfb6ab\
d0>

Tag

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0x7fc4dfb6a6\
10>

Tar

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0x7fc4dfb6ac\
10>

TargetSignatures

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0x7fc4dfb6a6\
50>

TypeLibrary

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0x7fc4dfb6ac\
50>

Value

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0x7fc4dfb6a6\
90>

VariantDir

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0x7fc4dfb6a6\
d0>

Zip

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0x7fc4dfb6ac\
90>