Files
CMake/Tests/RunCMake/File_Generate/CMP0070-WARN-stderr.txt
Brad King 4c4f173876 Clarify advice given by compatibility deprecation message for CMake < 3.10
Since commit 84db8506ff (Deprecate compatibility with CMake versions older
than 3.10, 2024-10-03, v3.31.0-rc1~23^2) the `cmake_minimum_required` and
`cmake_policy` commands warn if the project does not enable policies as
of 3.10 or higher.  Clarify the advice given in the warning message about
how to update the version specification, particularly without actually
requiring a newer minimum version of CMake.
2024-11-14 09:40:01 -05:00

50 lines
2.0 KiB
Plaintext

^CMake Deprecation Warning at CMakeLists.txt:[0-9]+ \(cmake_policy\):
Compatibility with CMake < 3\.10 will be removed from a future version of
CMake\.
Update the VERSION argument <min> value\. Or, use the <min>\.\.\.<max> syntax
to tell CMake that the project requires at least <min> but has been updated
to work with policies introduced by <max> or earlier\.
+
(CMake Warning \(dev\) in CMakeLists.txt:
Policy CMP0070 is not set: Define file\(GENERATE\) behavior for relative
paths. Run "cmake --help-policy CMP0070" for policy details. Use the
cmake_policy command to set the policy and suppress this warning.
file\(GENERATE\) given relative OUTPUT path:
relative-output-WARN.txt
This is not defined behavior unless CMP0070 is set to NEW. For
compatibility with older versions of CMake, the previous undefined behavior
will be used.
This warning is for project developers. Use -Wno-dev to suppress it.
+)+
CMake Warning \(dev\) in CMakeLists.txt:
Policy CMP0070 is not set: Define file\(GENERATE\) behavior for relative
paths. Run "cmake --help-policy CMP0070" for policy details. Use the
cmake_policy command to set the policy and suppress this warning.
file\(GENERATE\) given relative INPUT path:
relative-input-WARN.txt
This is not defined behavior unless CMP0070 is set to NEW. For
compatibility with older versions of CMake, the previous undefined behavior
will be used.
This warning is for project developers. Use -Wno-dev to suppress it.(
+
CMake Warning \(dev\) in CMakeLists.txt:
Policy CMP0070 is not set: Define file\(GENERATE\) behavior for relative
paths. Run "cmake --help-policy CMP0070" for policy details. Use the
cmake_policy command to set the policy and suppress this warning.
file\(GENERATE\) given relative OUTPUT path:
relative-output-WARN.txt
This is not defined behavior unless CMP0070 is set to NEW. For
compatibility with older versions of CMake, the previous undefined behavior
will be used.
This warning is for project developers. Use -Wno-dev to suppress it.)+$