[cmake-developers] Drop configure_file(IMMEDIATE) in 3.0?
Brad King
brad.king at kitware.com
Tue Nov 12 11:33:19 EST 2013
On 11/12/2013 11:24 AM, Daniele E. Domenichelli wrote:
> I also noticed that there are still a lot of cmake modules (just try
> "git grep IMMEDIATE Modules" ) and a lot of cmake files for other
> projects that use this ignored option, and they keep spreading to the
> copy-paste power.
>
> Since I recently saw a lot of new policies that disable old commands,
> maybe this is a good moment to add a policy and a warning for this as well?
Let's start with a change that removes all uses from CMake-provided
modules. This is only now possible because prior to the post-2.8.12
change:
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=7d47c693#patch6
we needed IMMEDIATE in the modules to support ancient compatibility
levels.
Thanks,
-Brad
More information about the cmake-developers
mailing list