summaryrefslogtreecommitdiff
path: root/src/version.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/version.cc')
-rw-r--r--src/version.cc9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/version.cc b/src/version.cc
new file mode 100644
index 0000000000..401273b6b1
--- /dev/null
+++ b/src/version.cc
@@ -0,0 +1,9 @@
+#include "version.hh"
+
+static char *s = "LilyPond version " VERSIONSTR " compiled on " __DATE__ " at " __TIME__ "\n";
+
+const char *
+get_version()
+{
+ return s;
+}