Provide a way for tools to re-run CMake on an existing build tree
If an editor, IDE, or other tool is pointed by its user at an existing CMake build tree, in some use cases the tool may want to re-run CMake to re-generate the build tree. Currently there is no official way for such tools to know the /path/to/bin/cmake
that was used to generate the build tree in the first place.
CMake could perhaps generate some kind of meta-data file or other indicator in the build tree that tooling can use to identify the cmake
tool the generated it, so that the tool can be re-run automatically.