diff options
author | Brad King <brad.king@kitware.com> | 2018-09-17 10:47:46 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2018-09-17 18:16:48 (GMT) |
commit | 0c709cb2a214ec37100d38f06e1bbf157d8c4cb8 (patch) | |
tree | 19675a36da0dc13a7bd355af6656cf0d257fed15 /Tests/RunCMake/try_compile/CMP0056-stderr.txt | |
parent | 333804fa0e12c3df9ef16fec163451cffda52df4 (diff) | |
download | CMake-0c709cb2a214ec37100d38f06e1bbf157d8c4cb8.zip CMake-0c709cb2a214ec37100d38f06e1bbf157d8c4cb8.tar.gz CMake-0c709cb2a214ec37100d38f06e1bbf157d8c4cb8.tar.bz2 |
Add deprecation warnings for policies CMP0063 and below
The OLD behaviors of all policies are deprecated, but only by
documentation. Add an explicit deprecation diagnostic for some policies
to encourage projects to port away from setting policies to OLD.
Diffstat (limited to 'Tests/RunCMake/try_compile/CMP0056-stderr.txt')
-rw-r--r-- | Tests/RunCMake/try_compile/CMP0056-stderr.txt | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/Tests/RunCMake/try_compile/CMP0056-stderr.txt b/Tests/RunCMake/try_compile/CMP0056-stderr.txt index 5c1f0e4..de44205 100644 --- a/Tests/RunCMake/try_compile/CMP0056-stderr.txt +++ b/Tests/RunCMake/try_compile/CMP0056-stderr.txt @@ -10,4 +10,15 @@ CMake Warning \(dev\) at CMP0056.cmake:[0-9]+ \(try_compile\): caller link flags \(e.g. CMAKE_EXE_LINKER_FLAGS\) in the test project. Call Stack \(most recent call first\): CMakeLists.txt:[0-9]+ \(include\) -This warning is for project developers. Use -Wno-dev to suppress it.$ +This warning is for project developers. Use -Wno-dev to suppress it. + +CMake Deprecation Warning at CMP0056.cmake:[0-9]+ \(cmake_policy\): + The OLD behavior for policy CMP0056 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\)$ |