CMake options

Met.3D provides several options to configure the build with CMake. They can be enabled by passing the CMake option via cmake -D<OPTION>=ON .... IDEs often allow you to add CMake options to a given CMake profile.

Option

Description

Default

ENABLE_FORTRAN

Build the bundled Fortran LAGRANTO (libcalvar) code. Requires a Fortran compiler, and is a prerequisite for ENABLE_LAGRANTO_DERIVATIVES.

OFF

USE_CLANG

Build Met.3D with the Clang compiler instead of the default (GCC).

OFF

ENABLE_OPENGL_DEBUG

Enable OpenGL debug messaging to diagnose rendering and OpenGL errors. Typically combined with a debug build.

OFF

EXPERIMENTAL_PROJECTION_SUPPORT

Enable experimental support for reading projected and rotated grids (see Experimental projection support).

OFF

TEACHING

Enable the sample actors MExampleActor and MExampleMultiVarActor.

OFF

ENABLE_EXPERIMENTAL_DERIVEDVARS

Enable derived variables that are experimental and have not been tested well.

OFF

ENABLE_LAGRANTO_DERIVATIVES

Add a GUI option to compute derivatives with the LAGRANTO library (data on hybrid sigma-pressure grids only). Requires ENABLE_FORTRAN.

OFF

MET3D_ENABLE_CI_TESTS

Enable the Met.3D continuous-integration ctest targets (image-comparison tests).

OFF