]> git.donarmstrong.com Git - lilypond.git/blob - lily/lily-version.cc
release: 0.1.12
[lilypond.git] / lily / lily-version.cc
1 #include "version.hh"
2 #include <stdio.h>
3
4
5 #define VERSION_SZ  MAJOR_VERSION "." MINOR_VERSION "."  PATCH_LEVEL MY_PATCH_LEVEL
6 static char *s = "GNU LilyPond " VERSION_SZ " #%d";
7
8 static const int build=
9 #include ".build"
10 ;
11
12 char const *
13 lily_version_number_sz()
14 {
15   return VERSION_SZ;
16 }
17
18 char const * 
19 lily_version_sz()
20 {
21   static char v[1024];  // ugh
22   sprintf (v, s, build);
23   return v;
24 }