aboutsummaryrefslogtreecommitdiffstats
path: root/src/GpgFrontendBuildInfo.h.in
diff options
context:
space:
mode:
authorSaturneric <[email protected]>2021-09-05 15:02:19 +0000
committerSaturneric <[email protected]>2021-09-05 15:02:19 +0000
commit39440522111abf3adeef6b56cb23722119fbf3c2 (patch)
tree5979b3808d58c8c576e288004877d826556b4cda /src/GpgFrontendBuildInfo.h.in
parentModified ResultAnalyse. (diff)
downloadGpgFrontend-39440522111abf3adeef6b56cb23722119fbf3c2.tar.gz
GpgFrontend-39440522111abf3adeef6b56cb23722119fbf3c2.zip
Rewrite the core.
Adjust the structure.
Diffstat (limited to 'src/GpgFrontendBuildInfo.h.in')
-rw-r--r--src/GpgFrontendBuildInfo.h.in54
1 files changed, 54 insertions, 0 deletions
diff --git a/src/GpgFrontendBuildInfo.h.in b/src/GpgFrontendBuildInfo.h.in
new file mode 100644
index 00000000..bf1d3f8a
--- /dev/null
+++ b/src/GpgFrontendBuildInfo.h.in
@@ -0,0 +1,54 @@
+/**
+ * This file is part of GPGFrontend.
+ *
+ * GPGFrontend is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Foobar is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Foobar. If not, see <https://www.gnu.org/licenses/>.
+ *
+ * The initial version of the source code is inherited from gpg4usb-team.
+ * Their source code version also complies with GNU General Public License.
+ *
+ * The source code version of this software was modified and released
+ * by Saturneric<[email protected]> starting on May 12, 2021.
+ *
+ */
+
+#ifndef GPGFRONTEND_BUILD_INFO_H_IN
+#define GPGFRONTEND_BUILD_INFO_H_IN
+
+/**
+ * Logic Version (*.*.*)
+ */
+#define VERSION_MAJOR @CMAKE_PROJECT_VERSION_MAJOR@
+#define VERSION_MINOR @CMAKE_PROJECT_VERSION_MINOR@
+#define VERSION_PATCH @CMAKE_PROJECT_VERSION_PATCH@
+
+/**
+ * Code Version (According to Git)
+ */
+#define GIT_BRANCH_NAME "@GIT_BRANCH_NAME@"
+#define GIT_COMMIT_HASH "@GIT_COMMIT_HASH@"
+
+/**
+ * Generated Information (According to CMake)
+ */
+#define PROJECT_NAME "@PROJECT_NAME@"
+#define BUILD_VERSION "@BUILD_VERSION@"
+#define GIT_VERSION "@GIT_VERSION@"
+
+/**
+ * Build Information
+ */
+#define BUILD_FLAG @BUILD_FLAG@
+#define BUILD_TIMESTAMP "@BUILD_TIMESTAMP@"
+
+#endif // GPGFRONTEND_BUILD_INFO_H_IN