googletest
googletest copied to clipboard
[FR]: add GOOGLETEST_VERSION x.y.z
trafficstars
Does the feature exist in the most recent commit?
no
Why do we need this feature?
It would be greet to be able to check which version of googletest is running so that it can be compared with the latest version available. this is very useful for update automation
Describe the proposal.
add inside gtest.h or a new file gtest_version.h a variable named GOOGLETEST_VERSION x.y.z to keep track of the version.
Is the feature specific to an operating system, compiler, or build system version?
no
I think relying on such a macro for update automation would go against this project's live at head philosophy, especially given how infrequently tags and GitHub releases are published.