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.
75 lines
3.2 KiB
Plaintext
75 lines
3.2 KiB
Plaintext
^CMake Warning \(deprecated\) at NO_DEPENDS-CMP0114-OLD\.cmake:[0-9]+ \(cmake_policy\):
|
|
The OLD behavior for policy CMP0114 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\.
|
|
+
|
|
CMake Warning \(author\) at [^
|
|
]*/Modules/ExternalProject\.cmake:[0-9]+ \(message\):
|
|
Using NO_DEPENDS for "configure" step might break parallel builds
|
|
Call Stack \(most recent call first\):
|
|
[^
|
|
]*/Modules/ExternalProject\.cmake:[0-9]+ \(_ep_step_add_target\)
|
|
[^
|
|
]*/Modules/ExternalProject\.cmake:[0-9]+:EVAL:2 \(ExternalProject_Add_Step\)
|
|
[^
|
|
]*/Modules/ExternalProject\.cmake:[0-9]+ \(cmake_language\)
|
|
[^
|
|
]*/Modules/ExternalProject\.cmake:[0-9]+ \(_ep_add_configure_command\)
|
|
NO_DEPENDS-CMP0114-Common\.cmake:[0-9]+ \(ExternalProject_Add\)
|
|
NO_DEPENDS-CMP0114-OLD\.cmake:[0-9]+ \(include\)
|
|
CMakeLists\.txt:[0-9]+ \(include\)
|
|
This warning is for project developers\. Use -Wno-author to suppress it\.
|
|
+
|
|
CMake Warning \(author\) at [^
|
|
]*/Modules/ExternalProject\.cmake:[0-9]+ \(message\):
|
|
Using NO_DEPENDS for "build" step might break parallel builds
|
|
Call Stack \(most recent call first\):
|
|
[^
|
|
]*/Modules/ExternalProject\.cmake:[0-9]+ \(_ep_step_add_target\)
|
|
[^
|
|
]*/Modules/ExternalProject\.cmake:[0-9]+:EVAL:2 \(ExternalProject_Add_Step\)
|
|
[^
|
|
]*/Modules/ExternalProject\.cmake:[0-9]+ \(cmake_language\)
|
|
[^
|
|
]*/Modules/ExternalProject\.cmake:[0-9]+ \(_ep_add_build_command\)
|
|
NO_DEPENDS-CMP0114-Common\.cmake:[0-9]+ \(ExternalProject_Add\)
|
|
NO_DEPENDS-CMP0114-OLD\.cmake:[0-9]+ \(include\)
|
|
CMakeLists\.txt:[0-9]+ \(include\)
|
|
This warning is for project developers\. Use -Wno-author to suppress it\.
|
|
+
|
|
CMake Warning \(author\) at [^
|
|
]*/Modules/ExternalProject\.cmake:[0-9]+ \(message\):
|
|
Using NO_DEPENDS for "install" step might break parallel builds
|
|
Call Stack \(most recent call first\):
|
|
[^
|
|
]*/Modules/ExternalProject\.cmake:[0-9]+ \(_ep_step_add_target\)
|
|
[^
|
|
]*/Modules/ExternalProject\.cmake:[0-9]+:EVAL:2 \(ExternalProject_Add_Step\)
|
|
[^
|
|
]*/Modules/ExternalProject\.cmake:[0-9]+ \(cmake_language\)
|
|
[^
|
|
]*/Modules/ExternalProject\.cmake:[0-9]+ \(_ep_add_install_command\)
|
|
NO_DEPENDS-CMP0114-Common\.cmake:[0-9]+ \(ExternalProject_Add\)
|
|
NO_DEPENDS-CMP0114-OLD\.cmake:[0-9]+ \(include\)
|
|
CMakeLists\.txt:[0-9]+ \(include\)
|
|
This warning is for project developers\. Use -Wno-author to suppress it\.
|
|
+
|
|
CMake Warning \(author\) at [^
|
|
]*/Modules/ExternalProject\.cmake:[0-9]+ \(message\):
|
|
Using NO_DEPENDS for "test" step might break parallel builds
|
|
Call Stack \(most recent call first\):
|
|
[^
|
|
]*/Modules/ExternalProject\.cmake:[0-9]+ \(_ep_step_add_target\)
|
|
NO_DEPENDS-CMP0114-Common\.cmake:[0-9]+ \(ExternalProject_Add_StepTargets\)
|
|
NO_DEPENDS-CMP0114-OLD\.cmake:[0-9]+ \(include\)
|
|
CMakeLists\.txt:[0-9]+ \(include\)
|
|
This warning is for project developers\. Use -Wno-author to suppress it\.$
|