diff options
author | Thomas White <taw@physics.org> | 2020-07-29 15:44:53 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2020-07-29 18:53:45 +0200 |
commit | 736c78d4c79f041faf33920bd0f82c29ecbe9586 (patch) | |
tree | 8fbf75c5cf5f2deb70d426b8c94eac78e46df968 /src/version.c.in | |
parent | 42898f7d59e215434fa2aead84223f64b30fcee8 (diff) |
Version information via Meson
Diffstat (limited to 'src/version.c.in')
-rw-r--r-- | src/version.c.in | 13 |
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."; +} |