aboutsummaryrefslogtreecommitdiff
path: root/src/version.c.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/version.c.in')
-rw-r--r--src/version.c.in13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/version.c.in b/src/version.c.in
new file mode 100644
index 00000000..bf2fddee
--- /dev/null
+++ b/src/version.c.in
@@ -0,0 +1,13 @@
+const char *crystfel_version_string()
+{
+ return "@VCS_TAG@";
+}
+
+const char *crystfel_licence_string()
+{
+ return "License GPLv3+: GNU GPL version 3 or later" \
+ " <http://gnu.org/licenses/gpl.html>.\n" \
+ "This is free software: you are free to change and redistribute it.\n" \
+ "There is NO WARRANTY, to the extent permitted by law.\n\n" \
+ "Written by Thomas White and others.";
+}