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
 
set_missing_sconscript_error(flag=1)
Set behavior on missing file in SConscript() call. Returns previous value
source code
 
Variables(files=[], args={}) source code
Variables [hide private]
  __revision__ = 'src/engine/SCons/Script/__init__.py 3a41ed6b28...
  start_time = 1548264689.32
  call_stack = []
  PathVariable = <SCons.Variables.PathVariable._PathVariableClas...
  Chmod = <SCons.Action.ActionFactory object>
  Copy = <SCons.Action.ActionFactory object>
  Delete = <SCons.Action.ActionFactory object>
  Mkdir = <SCons.Action.ActionFactory object>
  Move = <SCons.Action.ActionFactory object>
  Touch = <SCons.Action.ActionFactory object>
  CScanner = <SCons.Scanner.ClassicCPP object>
  DScanner = <SCons.Scanner.D.D object>
  DirScanner = <SCons.Scanner.Base object>
  ProgramScanner = <SCons.Scanner.Base object>
  SourceFileScanner = <SCons.Scanner.Base object>
  CScan = <SCons.Scanner.ClassicCPP object>
  ARGUMENTS = {}
  ARGLIST = []
  BUILD_TARGETS = []
  COMMAND_LINE_TARGETS = []
  DEFAULT_TARGETS = []
  _build_plus_default = []
  help_text = None
hash(x)
  sconscript_reading = 0
  _no_missing_sconscript = False
  _warn_missing_sconscript_deprecated = True
  GlobalDefaultEnvironmentFunctions = ['Default', 'EnsurePythonV...
  GlobalDefaultBuilders = ['CFile', 'CXXFile', 'DVI', 'Jar', 'Ja...
  SConscript = <SCons.Script.SConscript.DefaultEnvironmentCall o...
  Command = <SCons.Script.SConscript.DefaultEnvironmentCall object>
  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 object>
  CacheDir = <SCons.Script.SConscript.DefaultEnvironmentCall obj...
  Clean = <SCons.Script.SConscript.DefaultEnvironmentCall object>
  DVI = <SCons.Script.SConscript.DefaultEnvironmentCall object>
  Decider = <SCons.Script.SConscript.DefaultEnvironmentCall object>
  Default = <SCons.Script.SConscript.DefaultEnvironmentCall object>
  Depends = <SCons.Script.SConscript.DefaultEnvironmentCall object>
  Dir = <SCons.Script.SConscript.DefaultEnvironmentCall object>
  EnsurePythonVersion = <SCons.Script.SConscript.DefaultEnvironm...
  EnsureSConsVersion = <SCons.Script.SConscript.DefaultEnvironme...
  Entry = <SCons.Script.SConscript.DefaultEnvironmentCall object>
  Execute = <SCons.Script.SConscript.DefaultEnvironmentCall object>
  Exit = <SCons.Script.SConscript.DefaultEnvironmentCall object>
  Export = <SCons.Script.SConscript.DefaultEnvironmentCall object>
  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 object>
  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 object>
  Import = <SCons.Script.SConscript.DefaultEnvironmentCall object>
  Install = <SCons.Script.SConscript.DefaultEnvironmentCall object>
  InstallAs = <SCons.Script.SConscript.DefaultEnvironmentCall ob...
  InstallVersionedLib = <SCons.Script.SConscript.DefaultEnvironm...
  Jar = <SCons.Script.SConscript.DefaultEnvironmentCall object>
  Java = <SCons.Script.SConscript.DefaultEnvironmentCall object>
  JavaH = <SCons.Script.SConscript.DefaultEnvironmentCall object>
  Library = <SCons.Script.SConscript.DefaultEnvironmentCall object>
  Literal = <SCons.Script.SConscript.DefaultEnvironmentCall object>
  LoadableModule = <SCons.Script.SConscript.DefaultEnvironmentCa...
  Local = <SCons.Script.SConscript.DefaultEnvironmentCall object>
  M4 = <SCons.Script.SConscript.DefaultEnvironmentCall object>
  MSVSProject = <SCons.Script.SConscript.DefaultEnvironmentCall ...
  NoCache = <SCons.Script.SConscript.DefaultEnvironmentCall object>
  NoClean = <SCons.Script.SConscript.DefaultEnvironmentCall object>
  Object = <SCons.Script.SConscript.DefaultEnvironmentCall object>
  PCH = <SCons.Script.SConscript.DefaultEnvironmentCall object>
  PDF = <SCons.Script.SConscript.DefaultEnvironmentCall object>
  Package = <SCons.Script.SConscript.DefaultEnvironmentCall object>
  ParseDepends = <SCons.Script.SConscript.DefaultEnvironmentCall...
  PostScript = <SCons.Script.SConscript.DefaultEnvironmentCall o...
  Precious = <SCons.Script.SConscript.DefaultEnvironmentCall obj...
  Program = <SCons.Script.SConscript.DefaultEnvironmentCall object>
  PyPackageDir = <SCons.Script.SConscript.DefaultEnvironmentCall...
  RES = <SCons.Script.SConscript.DefaultEnvironmentCall object>
  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...
  Substfile = <SCons.Script.SConscript.DefaultEnvironmentCall ob...
  Tag = <SCons.Script.SConscript.DefaultEnvironmentCall object>
  Tar = <SCons.Script.SConscript.DefaultEnvironmentCall object>
  TargetSignatures = <SCons.Script.SConscript.DefaultEnvironment...
  Textfile = <SCons.Script.SConscript.DefaultEnvironmentCall obj...
  TypeLibrary = <SCons.Script.SConscript.DefaultEnvironmentCall ...
  Value = <SCons.Script.SConscript.DefaultEnvironmentCall object>
  VariantDir = <SCons.Script.SConscript.DefaultEnvironmentCall o...
  Zip = <SCons.Script.SConscript.DefaultEnvironmentCall object>
  __package__ = 'SCons.Script'
Variables Details [hide private]

__revision__

Value:
'src/engine/SCons/Script/__init__.py 3a41ed6b288cee8d085373ad7fa02894e\
1903864 2019-01-23 17:30:35 bdeegan'

PathVariable

Value:
<SCons.Variables.PathVariable._PathVariableClass object>

GlobalDefaultEnvironmentFunctions

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

GlobalDefaultBuilders

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

SConscript

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object>

AddPostAction

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object>

AddPreAction

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object>

AlwaysBuild

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object>

BuildDir

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object>

CacheDir

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object>

EnsurePythonVersion

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object>

EnsureSConsVersion

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object>

FindFile

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object>

FindInstalledFiles

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object>

FindSourceFiles

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object>

GetBuildPath

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object>

GetLaunchDir

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object>

InstallAs

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object>

InstallVersionedLib

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object>

LoadableModule

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object>

MSVSProject

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object>

ParseDepends

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object>

PostScript

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object>

Precious

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object>

PyPackageDir

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object>

Repository

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object>

Requires

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object>

SConscriptChdir

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object>

SConsignFile

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object>

SharedLibrary

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object>

SharedObject

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object>

SideEffect

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object>

SourceCode

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object>

SourceSignatures

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object>

StaticLibrary

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object>

StaticObject

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object>

Substfile

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object>

TargetSignatures

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object>

Textfile

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object>

TypeLibrary

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object>

VariantDir

Value:
<SCons.Script.SConscript.DefaultEnvironmentCall object>