From: Wolfgang Bangerth
- cmake -DCMAKE_BUILD_TYPE=Debug -DDEAL_II_SETUP_COVERAGE=YES <...>
+ cmake -DCMAKE_BUILD_TYPE=Debug -DDEAL_II_SETUP_COVERAGE=ON <...>
You can then build the library and run the tests as usual.
- ctest <...> -S ../tests/run_coverage.cmake + ctest <...> -S ../tests/run_coverage.cmake@@ -800,8 +800,8 @@ DESCRIPTION - A string that is appended to CTEST_BUILD_NAME COVERAGE - - If set to TRUE deal.II will be configured with - DEAL_II_SETUP_COVERAGE=TRUE, CMAKE_BUILD_TYPE=Debug and the + - If set to ON deal.II will be configured with + DEAL_II_SETUP_COVERAGE=ON, CMAKE_BUILD_TYPE=Debug and the CTEST_COVERAGE() stage will be run. Test results must go into the "Experimental" section. diff --git a/doc/users/cmake.html b/doc/users/cmake.html index abe200fdb7..cdadc0007d 100644 --- a/doc/users/cmake.html +++ b/doc/users/cmake.html @@ -872,15 +872,15 @@ cmake -DDEAL_II_CXX_FLAGS="-Wno-sign-compare" <...> (but before the corresponding cached variables).
DEAL_II_SETUP_DEFAULT_COMPILER_FLAGS
to
- OFF
. Beware of the fact that certain features
+ Disable the configuration completely by adding the flag
+ -D DEAL_II_SETUP_DEFAULT_COMPILER_FLAGS=OFF
.
+ Beware of the fact that certain features
may still pull in necessary compiler flags.
DEAL_II_SETUP_COVERAGE
to ON
.
+ coverage information by adding the flag
+ -D DEAL_II_SETUP_COVERAGE=ON
.