Display git commit in version

This commit is contained in:
sech1
2025-09-14 16:27:26 +02:00
parent 44f8d941a7
commit b69de65e78
3 changed files with 34 additions and 0 deletions
+3
View File
@@ -74,6 +74,9 @@ const char* VERSION = "v" STR2(P2POOL_VERSION_MAJOR) "." STR2(P2POOL_VERSION_MIN
#elif defined(_MSC_VER)
" with MSVC/" STR2(_MSC_VER)
#endif
#ifdef GIT_COMMIT
" from " GIT_COMMIT
#endif
" on " __DATE__ ")";
std::string p2pool_version()