diff options
Diffstat (limited to 'src/version.c.cmake.in')
-rw-r--r-- | src/version.c.cmake.in | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/version.c.cmake.in b/src/version.c.cmake.in new file mode 100644 index 00000000..a22b4143 --- /dev/null +++ b/src/version.c.cmake.in @@ -0,0 +1,13 @@ +const char *crystfel_version_string() +{ + return "${CRYSTFEL_VERSION}"; +} + +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."; +} |