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.
13 lines
615 B
Plaintext
13 lines
615 B
Plaintext
^CMake Warning \(deprecated\) at CMP0109-OLD\.cmake:[0-9]+ \(cmake_policy\):
|
|
The OLD behavior for policy CMP0109 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\.
|
|
Call Stack \(most recent call first\):
|
|
CMakeLists\.txt:[0-9]+ \(include\)
|
|
This warning is for project developers\. Use -Wno-author or -Wno-deprecated
|
|
to suppress it\.$
|