Commit 88ff8820 authored by Christoph Grüninger's avatar Christoph Grüninger

[cmake] Fix vverb not recognized as MINIMAL_DEBUG_LEVEL

parent 17985925
Pipeline #5260 passed with stage
in 8 minutes and 21 seconds
......@@ -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