On 01/28/2014 11:16 AM, Jean-Christophe Fillion-Robin wrote:
> I would vote for (2), that way people using the latest and greatest
> of CMake won't have to enable any variable and it will work out of the box.

No one has to set a magic variable in Alex's current design either.
The CMAKE_PROJECT_VERSION_SET_BY_PROJECT_COMMAND variable is set
and unset by the project() command automatically.  One need only to
set it when one wants to manually set PROJECT_VERSION after using
project(VERSION) in new code.  That seems unusual.

-Brad

-- 

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