Improve version information handling
- Always use the same mechanism (a generated source file) to communicate
the version information from the build system to the source, even when
not using git to generate the info. This allows removing several
variables from config.h.
- Rename the generated file from gitversion.c to baseversion-gen.c to
better reflect its new role. Rename the header correspondingly.
- Add utility/baseversion.h to provide functions to access the version
information, and use the new functions in a few places that were using
copyrite.cpp only for GromacsVersion(). This removes some cyclic
dependencies and warnings from the new Doxygen checker.
- Make checkpoint.c use the full version string in the checking instead
of VERSION, which is now removed from config.h. It is anyways
checking also the build time, so it doesn't hurt even if the version
string is more specific.
Change-Id: Ie85bab434a5e8c7e4e1a72b0af726ea4ea1f8d6f
13 files changed: