CMake: Hide verbose output of qt_add_shaders() by default
Each qt_add_shaders() call prints a message like
'color.frag -> color.frag.qsb exposed as :/shaders/color.frag.qsb'
to the stderr pipe.
While this can be useful for debugging, it adds noise to the
configuration output, especially for top-level Qt builds which have
a lot of these calls.
Switch the message type to DEBUG, which means it will only be printed
if the CMAKE_MESSAGE_LOG_LEVEL is set to DEBUG or --log-level DEBUG
is passed.
Remove the SILENT and QUIET handling for that particular message.
The documentation for qt_add_shaders() mentions that the SILENT and
QUIET options apply to the output from qsb, not CMake, so this should
be fine.
[ChangeLog][Build System] qt_add_shaders()
'X.vert -> X.vert.qsb exposed as ://Y' messages are now logged at
DEBUG level instead of NOTICE level, which will hide them from the
configuration output by default.
Change-Id: I30e4279604e60f5ad9ad9a45900a36a302fee87d
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>