Files
CMake/Tests/RunCMake/File_Generate/CMP0070-WARN-stderr.txt
Brad King 82be694c7a file(GENERATE): Add policy CMP0070 to define relative path behavior
Previously `file(GENERATE)` did not define any behavior for relative
paths given to the `OUTPUT` or `INPUT` arguments.  Define behavior
consistent with CMake conventions and add a policy to provide
compatibility for projects that relied on the old accidental behavior.

Fixes: #16786
2017-06-09 10:38:43 -04:00

28 lines
1.1 KiB
Plaintext

^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.)+$