LSSTApplications
10.0-2-g4f67435,11.0.rc2+1,11.0.rc2+12,11.0.rc2+3,11.0.rc2+4,11.0.rc2+5,11.0.rc2+6,11.0.rc2+7,11.0.rc2+8
LSSTDataManagementBasePackage
|
Classes | |
class | DoxygenBuilder |
A callable to be used as an SCons Action to run Doxygen. More... | |
Functions | |
def | SharedLibraryIncomplete |
Like SharedLibrary, but don't insist that all symbols are resolved. More... | |
def | SwigLoadableModule |
Like LoadableModule, but don't insist that all symbols are resolved, and set some SWIG-specific flags. More... | |
def | SourcesForSharedLibrary |
Prepare the list of files to be passed to a SharedLibrary constructor. More... | |
def | filesToTag |
Return a list of files that need to be scanned for tags, starting at directory root. More... | |
def | BuildETags |
Build Emacs tags (see man etags for more information). More... | |
def | CleanTree |
Remove files matching the argument list starting at dir when scons is invoked with -c/–clean and no explicit targets are listed. More... | |
def | ProductDir |
Return a product's PRODUCT_DIR, or None. More... | |
def | Doxygen |
Generate a Doxygen config file and run Doxygen on it. More... | |
def | VersionModule |
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, | |
files, | |||
dir = "." , |
|||
recurse = True , |
|||
verbose = False |
|||
) |
Remove files matching the argument list starting at dir when scons is invoked with -c/–clean and no explicit targets are listed.
E.g. CleanTree(r"*~ core")
If recurse is True, recursively descend the file system; if verbose is True, print each filename after deleting it
Definition at line 171 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 425 of file builders.py.
def lsst.sconsUtils.builders.filesToTag | ( | root = None , |
|
fileRegex = None , |
|||
ignoreDirs = None |
|||
) |
Return a list of files that need to be scanned for tags, starting at directory root.
These tags are for advanced Emacs users, and should not be confused with SVN tags or Doxygen tags.
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 118 of file builders.py.
def lsst.sconsUtils.builders.ProductDir | ( | env, | |
product | |||
) |
Return a product's PRODUCT_DIR, or None.
Definition at line 213 of file builders.py.
def lsst.sconsUtils.builders.SharedLibraryIncomplete | ( | self, | |
target, | |||
source, | |||
keywords | |||
) |
Like SharedLibrary, but don't insist that all symbols are resolved.
Definition at line 21 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 61 of file builders.py.
def lsst.sconsUtils.builders.SwigLoadableModule | ( | self, | |
target, | |||
source, | |||
keywords | |||
) |
Like LoadableModule, but don't insist that all symbols are resolved, and set some SWIG-specific flags.
Definition at line 30 of file builders.py.
def lsst.sconsUtils.builders.VersionModule | ( | self, | |
filename, | |||
versionString = None |
|||
) |
Definition at line 448 of file builders.py.