We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 72c5347 + 6f1fd4c commit 0aed0faCopy full SHA for 0aed0fa
include/cpp_core/interface/get_version.h
@@ -11,9 +11,14 @@ extern "C"
11
{
12
struct Version
13
14
- int major = version::MAJOR;
15
- int minor = version::MINOR;
16
- int patch = version::PATCH;
+ int major = version::MAJOR;
+ int minor = version::MINOR;
+ int patch = version::PATCH;
17
+ const char *commit_hash_short = version::GIT_COMMIT_HASH_SHORT;
18
+ const char *commit_hash_full = version::GIT_COMMIT_HASH_FULL;
19
+ const char *commit_date = version::GIT_COMMIT_DATE;
20
+ const char *branch = version::GIT_BRANCH;
21
+ const char *version_string = version::VERSION;
22
};
23
} // namespace cpp_core
24
0 commit comments