mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-25 04:09:36 +03:00
Tweak `cmMessenger` to also show the "warning is for project developers" notice for all diagnostics that are descendants of the `CMD_AUTHOR` category. When doing so, also show both command-line options which can suppress the message.
11 lines
546 B
Plaintext
11 lines
546 B
Plaintext
^CMake Warning \(deprecated\) at CMakeLists\.txt:[0-9]+ \(cmake_minimum_required\):
|
|
The OLD behavior for policy CMP0143 will be removed from a future version
|
|
of CMake\.
|
|
|
|
The cmake-policies\(7\) manual explains that the OLD behaviors of all
|
|
policies are deprecated and that a policy should be set to OLD only under
|
|
specific short-term circumstances\. Projects should be ported to the NEW
|
|
behavior and not rely on setting a policy to OLD\.
|
|
This warning is for project developers\. Use -Wno-author or -Wno-deprecated
|
|
to suppress it\.$
|