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, append=False) source code
 
Variables(files=[], args={}) source code
 
Options(files=[], args={}) source code
Variables [hide private]
  __revision__ = 'src/engine/SCons/Script/__init__.py rel_2.5.0:...
  start_time = 1460237976.66
  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...
  InstallVersionedLib = <SCons.Script.SConscript.DefaultEnvironm...
  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.5.0:3543:937e55cd78f7 2016/\
04/09 11:29:54 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 0xb6747bac>

AddPreAction

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0xb6747c0c>

Alias

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0xb6747bec>

AlwaysBuild

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0xb6747c6c>

BuildDir

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0xb6747c8c>

CFile

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0xb674e12c>

CXXFile

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0xb674e14c>

CacheDir

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0xb6747cac>

Clean

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0xb6747ccc>

DVI

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0xb674e0cc>

Decider

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0xb6747cec>

Default

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0xb6747a8c>

Depends

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0xb6747d0c>

Dir

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0xb6747c2c>

EnsurePythonVersion

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0xb674796c>

EnsureSConsVersion

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0xb6747b0c>

Entry

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0xb6747d8c>

Execute

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0xb6747dac>

Exit

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0xb6747aec>

Export

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0xb6747b6c>

File

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0xb6747dcc>

FindFile

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0xb6747dec>

FindInstalledFiles

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0xb6747c4c>

FindSourceFiles

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0xb6747d4c>

Flatten

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0xb6747e0c>

GetBuildPath

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0xb6747e2c>

GetLaunchDir

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0xb6747b2c>

Glob

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0xb6747e6c>

Help

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0xb6747b8c>

Ignore

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0xb6747eac>

Import

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0xb6747bcc>

Install

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0xb6747ecc>

InstallAs

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0xb6747eec>

InstallVersionedLib

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0xb6747e4c>

Jar

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0xb674e0ec>

Java

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0xb674e16c>

JavaH

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0xb674e1cc>

Library

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0xb674e1ec>

Literal

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0xb6747f0c>

Local

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0xb6747f4c>

M4

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0xb674e18c>

MSVSProject

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0xb674e20c>

NoCache

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0xb6747d6c>

NoClean

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0xb6747d2c>

Object

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0xb674e24c>

PCH

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0xb674e1ac>

PDF

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0xb674e22c>

Package

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0xb674e3ec>

ParseDepends

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0xb6747e8c>

PostScript

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0xb674e26c>

Precious

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0xb6747f6c>

Program

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0xb674e2cc>

RES

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0xb674e28c>

RMIC

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0xb674e2ec>

Repository

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0xb6747fac>

Requires

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0xb6747fcc>

SConscriptChdir

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0xb6747b4c>

SConsignFile

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0xb6747f2c>

SharedLibrary

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0xb674e2ac>

SharedObject

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0xb674e30c>

SideEffect

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0xb6747fec>

SourceCode

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0xb674e04c>

SourceSignatures

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0xb6747f8c>

Split

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0xb674e06c>

StaticLibrary

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0xb674e34c>

StaticObject

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0xb674e36c>

Tag

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0xb674e02c>

Tar

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0xb674e38c>

TargetSignatures

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0xb674e08c>

TypeLibrary

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0xb674e32c>

Value

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0xb674e0ac>

VariantDir

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0xb674e10c>

Zip

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object at 0xb674e3ac>