Currently the cmake version files are the only files that are generated in the source tree.
They should also be generated in the build tree and later added to the developer distribution packages.
The package version read mechanism must check install and build-tree locations of the file then.
This was implemented somtime before version 0.0.0.348-ca38.
The version.cmake file is now installed with the source package and no longer generated in the source-tree.
Currently the cmake version files are the only files that are generated in the source tree. They should also be generated in the build tree and later added to the developer distribution packages. The package version read mechanism must check install and build-tree locations of the file then.