Skip to content

Add deprecation warnings for policies CMP0072 and below

Brad King requested to merge brad.king/cmake:deprecate-policy-old into master

The OLD behaviors of all policies are deprecated, but only by documentation. Add an explicit deprecation diagnostic for policies introduced in CMake 3.11 and below to encourage projects to port away from setting policies to OLD.

Also add a maintainer guide step for doing this during initial post-release development.

Merge request reports