mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-02 11:49:55 -06:00
file(GENERATE): Update existing tests
Add the additional CMP0070 warning as expected stderr. The warning occurs twice because the output file name is evaluated multiple times.
This commit is contained in:
committed by
Brad King
parent
04fbd7566a
commit
1977f7833b
@@ -1,4 +1,18 @@
|
||||
^CMake Warning \(dev\) in CMakeLists.txt:
|
||||
^(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.
|
||||
|
||||
Reference in New Issue
Block a user