summaryrefslogtreecommitdiff
path: root/app/tools/halibut/version.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2016-12-28 16:52:56 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2016-12-28 16:52:56 +0100
commit7b358424ebad9349421acd533c2fa1cbf6cf3e3e (patch)
tree686678532eefed525c242fd214d0cfb2914726c5 /app/tools/halibut/version.c
Initial import of xtrkcad version 1:4.0.2-2
Diffstat (limited to 'app/tools/halibut/version.c')
-rw-r--r--app/tools/halibut/version.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/app/tools/halibut/version.c b/app/tools/halibut/version.c
new file mode 100644
index 0000000..38fbca1
--- /dev/null
+++ b/app/tools/halibut/version.c
@@ -0,0 +1,13 @@
+/*
+ * version.c: version string
+ */
+
+#include <stdio.h>
+
+#ifndef VERSION
+#define VER "anonymous build (" __DATE__ " " __TIME__ ")"
+#else
+#define VER "version " VERSION
+#endif
+
+const char *const version = VER;