Commit b914b997 authored by Ansgar Burchardt's avatar Ansgar Burchardt

Merge branch 'fix/minimal_debug_level_vverb' into 'master'

[cmake] Fix vverb not recognized as MINIMAL_DEBUG_LEVEL

See merge request !356
parents 3e2271e7 88ff8820
Pipeline #5405 passed with stage
in 9 minutes and 1 second
......@@ -13,14 +13,15 @@ macro(dune_set_minimal_debug_level)
set(MINIMAL_DEBUG_LEVEL ON CACHE STRING "set the MINIMAL_DEBUG_LEVEL. Standard debug streams with level below MINIMAL_DEBUG_LEVEL will collapse to doing nothing if output is requested. (default=warn)")
set_property(CACHE MINIMAL_DEBUG_LEVEL PROPERTY STRINGS
"grave" "warn" "info" "verb" "vverb")
if(MINIMAL_DEBUG_LEVEL MATCHES "grave")
if(MINIMAL_DEBUG_LEVEL STREQUAL "grave")
set(DUNE_MINIMAL_DEBUG_LEVEL 5)
elseif(MINIMAL_DEBUG_LEVEL MATCHES "info")
elseif(MINIMAL_DEBUG_LEVEL STREQUAL "info")
set(DUNE_MINIMAL_DEBUG_LEVEL 3)
elseif(MINIMAL_DEBUG_LEVEL MATCHES "verb")
elseif(MINIMAL_DEBUG_LEVEL STREQUAL "verb")
set(DUNE_MINIMAL_DEBUG_LEVEL 2)
elseif(MINIMAL_DEBUG_LEVEL MATCHES "vverb")
elseif(MINIMAL_DEBUG_LEVEL STREQUAL "vverb")
set(DUNE_MINIMAL_DEBUG_LEVEL 1)
# default to warn
else()
set(DUNE_MINIMAL_DEBUG_LEVEL 4)
endif()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment