diff options
author | Brad King <brad.king@kitware.com> | 2020-08-20 11:59:16 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2020-08-20 11:59:23 (GMT) |
commit | 2a8f363a54c77bf1f110deabf1933e71a93ef3f4 (patch) | |
tree | 002163214463dfa83dfa9475369e5347f3792b20 /Tests/RunCMake/File_Generate/SourceProperty-CMP0070-OLD-stderr.txt | |
parent | 692d259f9e92d58aff3064ffef0d7574cd5f2f79 (diff) | |
parent | 462b6d83e8c1113296ae52202ab664508f7865a7 (diff) | |
download | CMake-2a8f363a54c77bf1f110deabf1933e71a93ef3f4.zip CMake-2a8f363a54c77bf1f110deabf1933e71a93ef3f4.tar.gz CMake-2a8f363a54c77bf1f110deabf1933e71a93ef3f4.tar.bz2 |
Merge topic 'fix-file-generate-cmp0070'
462b6d83e8 file(GENERATE): Test source properties
1977f7833b file(GENERATE): Update existing tests
04fbd7566a file(GENERATE): Fix missing check for policy CMP0070
2dc2732f67 file(GENERATE): Refactor outputFileName calculation
a9602bb41e file(GENERATE): Refactor inputFileName calculation
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5090
Diffstat (limited to 'Tests/RunCMake/File_Generate/SourceProperty-CMP0070-OLD-stderr.txt')
-rw-r--r-- | Tests/RunCMake/File_Generate/SourceProperty-CMP0070-OLD-stderr.txt | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/Tests/RunCMake/File_Generate/SourceProperty-CMP0070-OLD-stderr.txt b/Tests/RunCMake/File_Generate/SourceProperty-CMP0070-OLD-stderr.txt new file mode 100644 index 0000000..fcb53a7 --- /dev/null +++ b/Tests/RunCMake/File_Generate/SourceProperty-CMP0070-OLD-stderr.txt @@ -0,0 +1,23 @@ +^CMake Deprecation Warning at SourceProperty-CMP0070-OLD.cmake:[0-9]+ \(cmake_policy\): + The OLD behavior for policy CMP0070 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\) + + +CMake Error at SourceProperty-CMP0070-OLD.cmake:[0-9]+ \(add_library\): + Cannot find source file: + +.*\/relative-output-OLD\.c + + Tried extensions \.c \.C.* +Call Stack \(most recent call first\): + CMakeLists.txt:[0-9]+ \(include\) + + +CMake Generate step failed. Build files cannot be regenerated correctly.$ |