LSSTApplications
10.0+286,10.0+36,10.0+46,10.0-2-g4f67435,10.1+152,10.1+37,11.0,11.0+1,11.0-1-g47edd16,11.0-1-g60db491,11.0-1-g7418c06,11.0-2-g04d2804,11.0-2-g68503cd,11.0-2-g818369d,11.0-2-gb8b8ce7
LSSTDataManagementBasePackage
|
A scope-only class for SConscript-replacement convenience functions. More...
Static Public Member Functions | |
def | lib |
Convenience function to replace standard lib/SConscript boilerplate. More... | |
def | python |
Convenience function to replace standard python/*/SConscript boilerplate. More... | |
def | doc |
Convenience function to replace standard doc/SConscript boilerplate. More... | |
def | tests |
Convenience function to replace standard tests/SConscript boilerplate. More... | |
def | examples |
Convenience function to replace standard examples/SConscript boilerplate. More... | |
A scope-only class for SConscript-replacement convenience functions.
All methods of BasicSConscript are static. All of these functions update the state.targets dictionary of targets used to set default targets and fix build dependencies; if you build anything without using BasicSConscript methods, be sure to manually it to the state.targets dict.
Definition at line 180 of file scripts.py.
|
static |
Convenience function to replace standard doc/SConscript boilerplate.
With no arguments, this will generate a Doxygen config file and run Doxygen with env.Doxygen(), using the projectName and projectNumber from env["packageName"] and env["version"], respectively.
This essentially just forwards all arguments (which should be passed as keyword arguments) to env.Doxygen().
Definition at line 253 of file scripts.py.
|
static |
Convenience function to replace standard examples/SConscript boilerplate.
ccList | A sequence of C++ examples to build (including .cc extensions). Defaults to a *.cc glob of the examples directory, minus any files that end with *_wrap.cc and files present in swigSrc. |
swigNameList | A sequence of SWIG modules to build (NOT including .i extensions). |
swigSrc | Additional source files to be compiled into SWIG modules, as a dictionary; each key must be an entry in swigNameList, and each value a list of additional source files. |
Definition at line 361 of file scripts.py.
|
static |
Convenience function to replace standard lib/SConscript boilerplate.
With no arguments, this will build a shared library with the same name as the package. This uses env.SourcesForSharedLibrary to support the optFiles/noOptFiles command-line variables.
libName | Name of the shared libray to be built (defaults to env["packageName"]). |
src | Source to compile into the library. Defaults to a 4-directory deep glob of all *.cc files in #src. |
libs | Libraries to link against, either as a string argument to be passed to env.getLibs() or a sequence of actual libraries to pass in. |
Definition at line 195 of file scripts.py.
|
static |
Convenience function to replace standard python/*/SConscript boilerplate.
With no arguments, this will build a SWIG module with the name determined according to our current pseudo-convention: last part of env["packageName"], split by underscores, with "Lib" appended to the end.
swigNameList | Sequence of SWIG modules to be built (does not include the file extensions). |
libs | Libraries to link against, either as a string argument to be passed to env.getLibs() or a sequence of actual libraries to pass in. |
swigSrc | A dictionary of additional source files that go into the modules. Each key should be an entry in swigNameList, and each value should be a list of additional C++ source files not generated by SWIG. |
Definition at line 224 of file scripts.py.
|
static |
Convenience function to replace standard tests/SConscript boilerplate.
With no arguments, will attempt to figure out which files should be run as tests and which are support code (like SWIG modules).
Python tests will be marked as dependent on the entire #python directory and any SWIG modules built in the tests directory. This should ensure tests are always run when their results might have changed, but may result in them being re-run more often than necessary.
pyList | A sequence of Python tests to run (including .py extensions). Defaults to a *.py glob of the tests directory, minus any files corresponding to the SWIG modules in swigFileList. |
ccList | A sequence of C++ unit tests to run (including .cc extensions). Defaults to a *.cc glob of the tests directory, minus any files that end with *_wrap.cc and files present in swigSrc. |
swigNameList | A sequence of SWIG modules to build (NOT including .i extensions). |
swigSrc | Additional source files to be compiled into SWIG modules, as a dictionary; each key must be an entry in swigNameList, and each value a list of additional source files. |
ignoreList | List of ignored tests to be passed to tests.Control (note that ignored tests will be built, but not run). |
nobuildList | List of tests that should not even be built. |
args | A dictionary of program arguments for tests, passed directly to tests.Control. |
Definition at line 301 of file scripts.py.