diff options
author | Brad King <brad.king@kitware.com> | 2017-04-21 18:29:27 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-04-21 19:04:33 (GMT) |
commit | 4f5bbbeab9bbe7dd3aa3bd9be5d201ed2447bad1 (patch) | |
tree | 5b9afb2c7559f9a69137cbdcace548e9540c16bb /Help/release | |
parent | 294cf948dc37799e1980685afbf1fa585ad5b0fb (diff) | |
download | CMake-4f5bbbeab9bbe7dd3aa3bd9be5d201ed2447bad1.zip CMake-4f5bbbeab9bbe7dd3aa3bd9be5d201ed2447bad1.tar.gz CMake-4f5bbbeab9bbe7dd3aa3bd9be5d201ed2447bad1.tar.bz2 |
Add deprecation warnings for policies CMP0036 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 'Help/release')
-rw-r--r-- | Help/release/dev/deprecate-policy-old.rst | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Help/release/dev/deprecate-policy-old.rst b/Help/release/dev/deprecate-policy-old.rst new file mode 100644 index 0000000..9ae30e6 --- /dev/null +++ b/Help/release/dev/deprecate-policy-old.rst @@ -0,0 +1,7 @@ +deprecate-policy-old +-------------------- + +* An explicit deprecation diagnostic was added for policies ``CMP0036`` + and below. The :manual:`cmake-policies(7)` manual explains that the + OLD behaviors of all policies are deprecated and that projects should + port to the NEW behaviors. |