[cmake-developers] A policy for Policies

Brad King brad.king at kitware.com
Mon Jun 8 16:31:59 EDT 2015


On 06/08/2015 04:25 PM, Brad King wrote:
>> I've changed the release notes to say 'some future release' instead. So, we 
>> can figure that out on a per-Policy basis.
> 
> Okay.  Actually shouldn't the documentation of every policy say it may
> be removed in a future release?  That is their general purpose.  Perhaps
> that may help discourage projects from setting them to OLD.

>From the change:

> +  are now deprecated.  In a future release of CMake, it will not be possible
> +  to set them to ``OLD``.  See also :manual:`cmake-policies(7)`

Actually it will not be possible to build a project that does not set
them to NEW explicitly or implicitly through cmake_minimum_required.
This is a much stronger restriction.

-Brad



More information about the cmake-developers mailing list