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

Stephen Kelly steveire at gmail.com
Mon Feb 3 11:53:49 EST 2014


Brad King wrote:

> 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.

Yes, I guess that could make sense too.

Thanks,

Steve.





More information about the cmake-developers mailing list