diff --git a/CMakeLists.txt b/CMakeLists.txt index f2f04452be..84aeb2e3f1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -24,7 +24,7 @@ option(profile "Compile with profiling flags" OFF) option(debug "Compile with debug flags" OFF) option(optimize "Turn on all compiler optimization flags" OFF) option(verbose "Create verbose Makefiles" OFF) -option(coverage "Compile with flags" OFF) +option(coverage "Compile with coverage analysis flags" OFF) if (verbose) set(CMAKE_VERBOSE_MAKEFILE on) diff --git a/docs/source/usersguide/install.rst b/docs/source/usersguide/install.rst index 848c6ecaa2..8d98a5c729 100644 --- a/docs/source/usersguide/install.rst +++ b/docs/source/usersguide/install.rst @@ -160,6 +160,13 @@ openmp Enables shared-memory parallelism using the OpenMP API. The Fortran compiler being used must support OpenMP. +coverage + Compile and link code instrumented for coverage analysis. This is typically + used in conjunction with gcov. + +maxcoord + Maximum number of nested coordinate levels in geometry. Defaults to 10. + To set any of these options (e.g. turning on debug mode), the following form should be used: