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
|
A Configuration subclass for external (third-party) packages. More...
Public Member Functions | |
def | __init__ (self, cfgFile, headers=(), libs=None, eupsProduct=None) |
Initialize the configuration object. More... | |
def | addCustomTests (self, tests) |
Add custom SCons configuration tests to the Configure Context passed to the configure() method. More... | |
def | configure (self, conf, packages, check=False, build=True) |
Update an SCons environment to make use of the package. More... | |
Static Public Member Functions | |
def | parseFilename (cfgFile) |
def | getEupsData (eupsProduct) |
Public Attributes | |
root | |
eupsProduct | |
version | |
doxygen | |
libs | |
paths | |
provides | |
A Configuration subclass for external (third-party) packages.
Aliased as lsst.sconsUtils.ExternalConfiguration.
ExternalConfiguration doesn't assume the package uses SWIG or Doxygen, and tells SCons not to consider header files this package provides as dependencies (by setting XCPPPATH instead of CPPPATH). This means things SCons won't waste time looking for changes in it every time you build. Header files in external packages are treated as "system headers": that is, most warnings generated when they are being compiled are suppressed.
Definition at line 287 of file dependencies.py.
def lsst.sconsUtils.dependencies.ExternalConfiguration.__init__ | ( | self, | |
cfgFile, | |||
headers = () , |
|||
libs = None , |
|||
eupsProduct = None |
|||
) |
Initialize the configuration object.
cfgFile | The name of the calling .cfg file, usually just passed in with the special variable file. This will be parsed to extract the package name and root. |
headers | A list of headers provided by the package, to be used in autoconf-style tests. |
libs | A list or dictionary of libraries provided by the package. If a dictionary is provided, libs["main"] should contain a list of regular libraries provided by the library. Other keys are "python" and "test", which refer to libraries that are only linked against compiled Python modules and unit tests, respectively. If a list is provided, the list is used as "main". These are used both for autoconf-style tests and to support env.getLibs(...), which recursively computes the libraries a package must be linked with. |
Definition at line 303 of file dependencies.py.
|
inherited |
Add custom SCons configuration tests to the Configure Context passed to the configure() method.
This needs to be done up-front so we can pass in a dictionary of custom tests when calling env.Configure(), and use the same configure context for all packages.
tests | A dictionary to add custom tests to. This will be passed as the custom_tests argument to env.Configure(). |
Definition at line 230 of file dependencies.py.
|
inherited |
Update an SCons environment to make use of the package.
conf | An SCons Configure context. The SCons Environment conf.env should be updated by the configure function. |
packages | A dictionary containing the configuration modules of all dependencies (or None if the dependency was optional and was not found). The <module>.config.configure(...) method will have already been called on all dependencies. |
check | If True, perform autoconf-style tests to verify that key components are in fact in place. |
build | If True, this is the package currently being built, and packages in "buildRequired" and "buildOptional" dependencies will also be present in the packages dict. |
Definition at line 247 of file dependencies.py.
|
staticinherited |
Definition at line 129 of file dependencies.py.
|
staticinherited |
Definition at line 123 of file dependencies.py.
|
inherited |
Definition at line 176 of file dependencies.py.
|
inherited |
Definition at line 167 of file dependencies.py.
|
inherited |
Definition at line 185 of file dependencies.py.
|
inherited |
Definition at line 197 of file dependencies.py.
|
inherited |
Definition at line 215 of file dependencies.py.
|
inherited |
Definition at line 164 of file dependencies.py.
|
inherited |
Definition at line 170 of file dependencies.py.