Hi,

the configure_file(IMMEDIATE) argument was deprecated since 2.2 or
something similar (commit c9cc368a9db33273ad6287ea94fc285e90c4901f, Jun
2005).

Nonetheless the IMMEDIATE arguments is still accepted without even
issuing a warning:

    else if(args[i] == "IMMEDIATE")
      {
      /* Ignore legacy option.  */
      }

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?


Cheers,
 Daniele
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to