[cmake-developers] Don't enclose CMake version to generated files
Brad King
brad.king at kitware.com
Mon Jul 11 12:02:46 EDT 2016
On 07/11/2016 11:17 AM, Christoph Grüninger wrote:
> this comes from the open build system, which is the system used by
> openSuse to generate the packages. If the CMake version is updated,
> which happens quite often, the generated files are altered and the
> packages are rebuild, repackaged and republished.
> Without the version number in the generated files, it wouldn't
> happen.
I think dropping the version number from the various Export generators
should be sufficient for this. The generated build system files like
build.ninja should not affect the results of package installation.
I've applied the "export" parts of the patch:
Do not place CMake version in export files
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=c376c5bc
Thanks,
-Brad
More information about the cmake-developers
mailing list