LSSTApplications
16.0-10-g0ee56ad+4,16.0-11-ga33d1f2+4,16.0-12-g3ef5c14+2,16.0-12-g71e5ef5+17,16.0-12-gbdf3636+2,16.0-13-g118c103+2,16.0-13-g8f68b0a+2,16.0-15-gbf5c1cb+3,16.0-16-gfd17674+2,16.0-17-g7c01f5c+2,16.0-18-g0a50484,16.0-20-ga20f992+7,16.0-21-g0e05fd4+5,16.0-21-g15e2d33+3,16.0-22-g62d8060+3,16.0-22-g847a80f+3,16.0-25-gf00d9b8,16.0-28-g3990c221+3,16.0-3-gf928089+2,16.0-32-g88a4f23+4,16.0-34-gd7987ad+2,16.0-37-gc7333cb+1,16.0-4-g10fc685+1,16.0-4-g18f3627+25,16.0-4-g5f3a788+25,16.0-5-gaf5c3d7+3,16.0-5-gcc1f4bb,16.0-6-g3b92700+3,16.0-6-g4412fcd+2,16.0-6-g7235603+3,16.0-69-g2562ce1b+1,16.0-7-g0913a87,16.0-8-g14ebd58+3,16.0-8-g2df868b,16.0-8-g4cec79c+5,16.0-8-gadf6c7a,16.0-82-g59ec2a54a,16.0-9-g5400cdc+1,16.0-9-ge6233d7+4,master-g2880f2d8cf+2,v17.0.rc1
LSSTDataManagementBasePackage
|
Classes | |
class | DoxygenBuilder |
A callable to be used as an SCons Action to run Doxygen. More... | |
Functions | |
def | SharedLibraryIncomplete (self, target, source, keywords) |
def | Pybind11LoadableModule (self, target, source, keywords) |
def | SourcesForSharedLibrary (self, files) |
Prepare the list of files to be passed to a SharedLibrary constructor. More... | |
def | filesToTag (root=None, fileRegex=None, ignoreDirs=None) |
def | BuildETags (env, root=None, fileRegex=None, ignoreDirs=None) |
Build Emacs tags (see man etags for more information). More... | |
def | CleanTree (self, filePatterns, dirPatterns="", directory=".", verbose=False) |
Remove files matching the argument list starting at directory when scons is invoked with -c/–clean and no explicit targets are listed. More... | |
def | ProductDir (env, product) |
def | Doxygen (self, config, kw) |
Generate a Doxygen config file and run Doxygen on it. More... | |
def | VersionModule (self, filename, versionString=None) |
def lsst.sconsUtils.builders.BuildETags | ( | env, | |
root = None , |
|||
fileRegex = None , |
|||
ignoreDirs = None |
|||
) |
Build Emacs tags (see man etags for more information).
Files are chosen if they match fileRegex; toplevel directories in list ignoreDirs are ignored This routine won't do anything unless you specified a "TAGS" target
Definition at line 154 of file builders.py.
def lsst.sconsUtils.builders.CleanTree | ( | self, | |
filePatterns, | |||
dirPatterns = "" , |
|||
directory = "." , |
|||
verbose = False |
|||
) |
Remove files matching the argument list starting at directory when scons is invoked with -c/–clean and no explicit targets are listed.
E.g. CleanTree(r"*~ core")
dirPatterns allows the specification of directories to be removed If verbose is True, print each filename after deleting it
Definition at line 172 of file builders.py.
def lsst.sconsUtils.builders.Doxygen | ( | self, | |
config, | |||
kw | |||
) |
Generate a Doxygen config file and run Doxygen on it.
Rather than parse a complete Doxygen config file for SCons sources and targets, this Doxygen builder builds a Doxygen config file, adding INPUT, FILE_PATTERNS, RECUSRIVE, EXCLUDE, XX_OUTPUT and GENERATE_XX options (and possibly others) to an existing proto-config file. Generated settings will override those in the proto-config file.
config | A Doxygen config file, usually with the extension .conf.in; a new file with the .in removed will be generated and passed to Doxygen. Settings in the original config file will be overridden by those generated by this method. |
inputs | A sequence of folders or files to be passed as the INPUT setting for Doxygen. This list will be turned into absolute paths by SCons, so the "#folder" syntax will work. Otherwise, the list is passed in as-is, but the builder will also examine those directories to find which source files the Doxygen output actually depends on. |
patterns | A sequence of glob patterns for the FILE_PATTERNS Doxygen setting. This will be passed directly to Doxygen, but it is also used to determine which source files should be considered dependencies. |
recursive | Whether the inputs should be searched recursively (used for the Doxygen RECURSIVE setting). |
outputs | A sequence of output formats which will also be used as output directories. |
exclude | A sequence of folders or files (not globs) to be ignored by Doxygen (the Doxygen EXCLUDE setting). Hidden directories are automatically ignored. |
includes | A sequence of Doxygen config files to include. These will automatically be separated into paths and files to fill in the @INCLUDE_PATH and @INCLUDE settings. |
useTags | A sequence of Doxygen tag files to use. It will be assumed that the html directory for each tag file is in an "html" subdirectory in the same directory as the tag file. |
makeTag | A string indicating the name of a tag file to be generated. |
projectName | Sets the Doxygen PROJECT_NAME setting. |
projectNumber | Sets the Doxygen PROJECT_NUMBER setting. |
excludeSwig | If True (default), looks for SWIG .i files in the input directories and adds Python and C++ files generated by SWIG to the list of files to exclude. For this to work, the SWIG-generated filenames must be the default ones ("module.i" generates "module.py" and "moduleLib_wrap.cc"). |
Definition at line 453 of file builders.py.
def lsst.sconsUtils.builders.filesToTag | ( | root = None , |
|
fileRegex = None , |
|||
ignoreDirs = None |
|||
) |
Definition at line 114 of file builders.py.
def lsst.sconsUtils.builders.ProductDir | ( | env, | |
product | |||
) |
Definition at line 223 of file builders.py.
def lsst.sconsUtils.builders.Pybind11LoadableModule | ( | self, | |
target, | |||
source, | |||
keywords | |||
) |
Definition at line 32 of file builders.py.
def lsst.sconsUtils.builders.SharedLibraryIncomplete | ( | self, | |
target, | |||
source, | |||
keywords | |||
) |
Definition at line 22 of file builders.py.
def lsst.sconsUtils.builders.SourcesForSharedLibrary | ( | self, | |
files | |||
) |
Prepare the list of files to be passed to a SharedLibrary constructor.
In particular, ensure that any files listed in env.NoOptFiles (set by the command line option noOptFile="file1 file2") are built without optimisation and files listed in env.optFiles are built with optimisation
The usage pattern in an SConscript file is: ccFiles = env.SourcesForSharedLibrary(Glob("../src/*/*.cc")) env.SharedLibrary('afw', ccFiles, LIBS=env.getLibs("self")))
This is automatically used by scripts.BasicSConscript.lib().
Definition at line 57 of file builders.py.
def lsst.sconsUtils.builders.VersionModule | ( | self, | |
filename, | |||
versionString = None |
|||
) |
Definition at line 477 of file builders.py.