On 12/22/2014 10:52 AM, Sean McBride wrote:
> I had started a patch but haven't had time to test it.  Perhaps
> you could continue from where I left off, see attached.

Thanks, Sean.  Calin, the patch currently hard-codes encoding of
the major and minor versions into an integer:

  this->PackageCompatibilityVersion = ((10 << 16) | 4);

I think the encoding is a good approach, but please factor it out
into a helper macro (local to the .cxx file) so the encoding logic
does not have to be repeated.

Thanks,
-Brad

-- 

Powered by www.kitware.com

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

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

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

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

Reply via email to