...
CMAKE_INSTALL_PREFIX | where you want to install your Emoslib library | /usr/local |
CMAKE_BUILD_TYPE | to select the type of compilation:
| RelWithDebInfo |
GRIB_API_PATH | where to find grib-api ( if non-standard installation ) | |
ENABLE_FFTW | Option to link FFTW, REQUIRED for Octahedral Gaussian grid | ON |
ENABLE_SINGLE_PRECISION | enable single precision version of library (Caution for BUFR handling and interpolation!) | OFF |
ENABLE_FORTRAN90 | enable tools which need Fortran 90 (only required for FC=pgf77) | ON |
ENABLE_INSTALL_TABLES | enable the installations of BUFR/GRIBex tables and LSM | ON |
LIBEMOS_INSTALL_LIB_DIR | setting directly the name for the library folder in specified prefix; For systems which require a directory with the name "lib64" instead of "lib" set this variable to "lib64" | |
cmake options | doc | default |
---|
The C and Fortran compilers are chosen by CMake. (This can be overwritten by setting the variables CC and FC, on the command line before you call cmake, to the preferred compiler). Further the variables CMAKE_C_FLAGSor CMAKE_Fortran_FLAGS can be used to set compiler flags for optimisation or debugging.
...