Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1diff --git a/include/dwarfs/version.h b/include/dwarfs/version.h 2new file mode 100755 3index 0000000..9b12c59 4--- /dev/null 5+++ b/include/dwarfs/version.h 6@@ -0,0 +1,16 @@ 7+// autogenerated code, do not modify 8+ 9+#pragma once 10+ 11+#define PRJ_VERSION_MAJOR @versionMajor@ 12+#define PRJ_VERSION_MINOR @versionMinor@ 13+#define PRJ_VERSION_PATCH @versionPatch@ 14+ 15+namespace dwarfs { 16+ 17+extern char const* PRJ_GIT_REV; 18+extern char const* PRJ_GIT_DESC; 19+extern char const* PRJ_GIT_BRANCH; 20+extern char const* PRJ_GIT_ID; 21+ 22+} // namespace dwarfs 23diff --git a/src/dwarfs/version.cpp b/src/dwarfs/version.cpp 24new file mode 100755 25index 0000000..3af0215 26--- /dev/null 27+++ b/src/dwarfs/version.cpp 28@@ -0,0 +1,12 @@ 29+// autogenerated code, do not modify 30+ 31+#include "dwarfs/version.h" 32+ 33+namespace dwarfs { 34+ 35+char const* PRJ_GIT_REV = "@gitRev@"; 36+char const* PRJ_GIT_DESC = "@gitDesc@"; 37+char const* PRJ_GIT_BRANCH = "@gitBranch@"; 38+char const* PRJ_GIT_ID = "@gitId@"; 39+ 40+} // namespace dwarfs