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
Public Member Functions | List of all members
lsst.sconsUtils.dependencies.ExternalConfiguration Class Reference

A Configuration subclass for external (third-party) packages. More...

Inheritance diagram for lsst.sconsUtils.dependencies.ExternalConfiguration:
lsst.sconsUtils.dependencies.Configuration

Public Member Functions

def __init__
 Initialize the configuration object. More...
 
- Public Member Functions inherited from lsst.sconsUtils.dependencies.Configuration
def __init__
 Initialize the configuration object. More...
 
def addCustomTests
 Add custom SCons configuration tests to the Configure Context passed to the configure() method. More...
 
def configure
 Update an SCons environment to make use of the package. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from lsst.sconsUtils.dependencies.Configuration
def parseFilename
 Parse the name of a .cfg file, returning the package name and root directory. More...
 
def getEupsData
 
- Public Attributes inherited from lsst.sconsUtils.dependencies.Configuration
 root
 
 eupsProduct
 
 version
 
 doxygen
 
 libs
 
 paths
 
 provides
 

Detailed Description

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.

Definition at line 273 of file dependencies.py.

Constructor & Destructor Documentation

def lsst.sconsUtils.dependencies.ExternalConfiguration.__init__ (   self,
  cfgFile,
  headers = (),
  libs = None,
  eupsProduct = None 
)

Initialize the configuration object.

Parameters
cfgFileThe 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.
headersA list of headers provided by the package, to be used in autoconf-style tests.
libsA 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 289 of file dependencies.py.

290  def __init__(self, cfgFile, headers=(), libs=None, eupsProduct=None):
291  Configuration.__init__(self, cfgFile, headers, libs, eupsProduct=eupsProduct, hasSwigFiles=False,
292  hasDoxygenTag=False, hasDoxygenInclude=False)
293  self.paths["XCPPPATH"] = self.paths["CPPPATH"]
294  del self.paths["CPPPATH"]
295 
296 #-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
def __init__
Initialize the configuration object.

The documentation for this class was generated from the following file: