/usr/share/dune/cmake/modules/DuneStreams.cmake is in libdune-common-dev 2.4.1-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | # Module configures the DUNE debug streams.
# A default debug level can be specified with
# MINIMAL_DEBUG_LEVEL
#
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")
set(DUNE_MINIMAL_DEBUG_LEVEL 5)
elseif(MINIMAL_DEBUG_LEVEL MATCHES "info")
set(DUNE_MINIMAL_DEBUG_LEVEL 3)
elseif(MINIMAL_DEBUG_LEVEL MATCHES "verb")
set(DUNE_MINIMAL_DEBUG_LEVEL 2)
elseif(MINIMAL_DEBUG_LEVEL MATCHES "vverb")
set(DUNE_MINIMAL_DEBUG_LEVEL 1)
else()
set(DUNE_MINIMAL_DEBUG_LEVEL 4)
endif()
endmacro(dune_set_minimal_debug_level)
|