Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • ARFLAGS - General options passed to the static library archiver. You should never need to set this.
  • CCFLAGS - General options that are passed to the C and C++ compilers.
  • CFLAGS - General options that are passed to the C compiler (C only; not C++).
  • CXXFLAGS - General options that are passed to the C++ compiler. By default, this includes the value of CCFLAGS, so that setting CCFLAGS affects both C and C++ compilation.

External Libraries

All external libraries used are automatically added to the library path of the compiler. A package only needs to add the libraries themselves to the library path. For example, to add CLHEP to list of libraries to link against you would use:

No Format

progEnv.Tool('addLibrary', library = progEnv['clhepLibs'])

Above, in the section "Libraries that depend on other libraries" is a similar example for external libraries as in this section. The same names for accessing the external libraries should be used in that section as the ones defined further down in this section.

Each external library the libraries required for linking against it stored in a variable like the above for clhepLibs. Currently these are the external libraries available to be linked against. The progEnv'clhepLibs' should be replaced with the name of the libraries you wish to add.

  • CLHEP - clhepLibs
  • FFTW - fftwLibs
  • FITS - cfitsioLibs
  • PIL - pilLibs
  • ROOT - rootLibs and, additionally, rootGuiLibs if needed.
  • SWIG - There are currently no libraries used as part of SWIG so none are defined.
  • XERCES - xercesLibs
  • CPPUnit - cppunitLibs
  • Python - pythonLibs