mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 06:33:42 +00:00
73570ddb89
Co-authored-by: Thomas <twatson52@mac.com>
41 lines
982 B
Diff
41 lines
982 B
Diff
diff --git a/include/dwarfs/version.h b/include/dwarfs/version.h
|
|
new file mode 100755
|
|
index 0000000..9b12c59
|
|
--- /dev/null
|
|
+++ b/include/dwarfs/version.h
|
|
@@ -0,0 +1,16 @@
|
|
+// autogenerated code, do not modify
|
|
+
|
|
+#pragma once
|
|
+
|
|
+#define PRJ_VERSION_MAJOR @versionMajor@
|
|
+#define PRJ_VERSION_MINOR @versionMinor@
|
|
+#define PRJ_VERSION_PATCH @versionPatch@
|
|
+
|
|
+namespace dwarfs {
|
|
+
|
|
+extern char const* PRJ_GIT_REV;
|
|
+extern char const* PRJ_GIT_DESC;
|
|
+extern char const* PRJ_GIT_BRANCH;
|
|
+extern char const* PRJ_GIT_ID;
|
|
+
|
|
+} // namespace dwarfs
|
|
diff --git a/src/dwarfs/version.cpp b/src/dwarfs/version.cpp
|
|
new file mode 100755
|
|
index 0000000..3af0215
|
|
--- /dev/null
|
|
+++ b/src/dwarfs/version.cpp
|
|
@@ -0,0 +1,12 @@
|
|
+// autogenerated code, do not modify
|
|
+
|
|
+#include "dwarfs/version.h"
|
|
+
|
|
+namespace dwarfs {
|
|
+
|
|
+char const* PRJ_GIT_REV = "@gitRev@";
|
|
+char const* PRJ_GIT_DESC = "@gitDesc@";
|
|
+char const* PRJ_GIT_BRANCH = "@gitBranch@";
|
|
+char const* PRJ_GIT_ID = "@gitId@";
|
|
+
|
|
+} // namespace dwarfs
|