New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[bug] CMakeDeps: CONAN_CMAKE_SILENT_OUTPUT ignores FATAL_ERROR messages #11369
Comments
This should be reconsidered with the whole Conan output strategy, not isolated, to be discussed in #11393 Most likely it shouldn't be a CONAN_ CMake variable to control that, but some other strategy to define the level of verbosity that is desired for tools too. |
Lets do:
|
I've just ran into this issue. @memsharded : What does your decision in the above comment mean? How will this fix I also think this is related, i.e. the "right way" would be to respect the |
Yes, at the moment we are going to drop CONAN_CMAKE_SILENT_OUTPUT. Then use different CMake |
@memsharded:
In our (application) project, we want exactly this, i.e. we want to be able to control from our CMakeLists how "chatty" conan is. If/when I'm debugging conan issues, it is useful to have all these log lines, but not in the general usecase; we would be fine with removing the Alternatively, you could move the messages to a hidden by default log level (
|
Hi @petamas That is the |
When using CMakeDeps we can set
CONAN_CMAKE_SILENT_OUTPUT
to silence the output from all calls toconan_message
. As of Conan 1.45.0, this will also mean that those messages with side effects (ie.MESSAGE_TYPE
ofFATAL_ERROR
orSEND_ERROR
) will not execute either.It should probably be something like:
The text was updated successfully, but these errors were encountered: