googletest icon indicating copy to clipboard operation
googletest copied to clipboard

[FR]: add GOOGLETEST_VERSION x.y.z

Open marco-ippolito opened this issue 2 years ago • 1 comments
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

marco-ippolito avatar Apr 05 '23 13:04 marco-ippolito

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.

tniessen avatar Apr 08 '23 16:04 tniessen