ExternalConfiguration#
- class lsst.sconsUtils.dependencies.ExternalConfiguration(cfgFile, headers=(), libs=None, eupsProduct=None)#
Bases:
ConfigurationA 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.
Parameters#
- cfgFile
str The name of the calling
.cfgfile, usually just passed in with the special variable__file__. This will be parsed to extract the package name and root.- headers
list, optional A list of headers provided by the package, to be used in autoconf-style tests.
- libs
listordict, optional 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.- eupsProduct
str, optional The EUPS product being built.
- cfgFile