[cmake-developers] RFC: add version to project() call

Brad King brad.king at kitware.com
Mon Feb 3 11:46:59 EST 2014


On 02/02/2014 03:49 PM, Stephen Kelly wrote:
> Should this topic set the CPACK_PROJECT_VERSION variable? Or should cpack 
> first try to read PROJECT_VERSION, and only use CPACK_PROJECT_VERSION as a 
> fallback? 

I think it should read CPACK_PROJECT_VERSION and if that is not set
then try PROJECT_VERSION.  The CPACK_ name is more specific.

-Brad



More information about the cmake-developers mailing list