...
After changing into the build Magics directory, the user has to run CMake with his/her own options. The command gives feedback on what requirements are fulfilled and what software is still required. Table below gives an overview of the different options of configure. The default (without any options) will compile a share library only and install it in /usr/local/.
cmake options | doc | default | ECMWF Scpecific |
---|---|---|---|
CMAKE_INSTALL_PREFIX | where you want to install your Magics library | /usr/local | |
CMAKE_BUILD_TYPE | to select the type of compilation:
| ?Debug | |
CMAKE_CXX_FLAGS | More flags for the C++ compiler | ||
ENABLE_GRIB | enable grib support | onon | |
GRIB_API_PATH | where to find grib-api ( if non-standard installation ) | ||
ENABLE_NETCDF | enable netcdf support ( if non-standard installation ) | on | on |
NETCDFNETCDF4_PATH | where to find netcdfnetcdf ( if non-standard installation ) | ||
ENABLE_ODB | enable odb support | off | off |
ODB_API_PATH | where to find odb ( if non-standard installation ) | ||
ENABLE_BUFR | enable bufr support The bufr support is done through emoslib . | off | off |
BUFR_LIB | Where to find emos lib l lib ( if non-standard installation ) | ||
ENABLE_PYTHON | enable python interface | auto | on |
ENABLE_FORTRAN | enable fortran interfaceon | on | |
ENABLE_METVIEW | enable metview support(and Qt support)off | off | |
ENABLE_CAIRO | enable cairo supporton | on | |
BOOST_ROOT | where to find boost ( if non-standard installation ) | /usr/local/apps/boost/1.50.0 ( for the worksation) | |
PROJ4_PATH | where to find proj4 ( if non-standard installation ) | /usr/local/apps/proj4/4.8.0/LP64 |
If auto, CMake will try to enable the feature, but will not fail if it can not.
...