mirror of
https://github.com/Kitware/CMake.git
synced 2026-08-10 17:14:10 +00:00
Create methods to issue diagnostics. Diagnostics are similar to messages, except that they are associated with a diagnostic category, and the diagnostic state determines their severity. Also, add overloads of methods to issue messages and diagnostics that accept a backtrace, as a number of places must currently bypass layers in order to pass a custom backtrace. These are also sub-optimal because the lower level APIs require the diagnostic state to be explicitly passed by the caller, which we would prefer to avoid whenever possible.
2.9 KiB
2.9 KiB