]> git.donarmstrong.com Git - lilypond.git/blob - lily/lily-version.cc
* SConstruct: Further development.
[lilypond.git] / lily / lily-version.cc
1 /*
2   lily-version.cc -- implement version strings
3
4   source file of the GNU LilyPond music typesetter
5
6   (c) 1999--2004 Jan Nieuwenhuizen <janneke@gnu.org>
7 */
8
9 #include "config.hh"
10 #include "version.hh"
11 #include "lily-version.hh"
12
13 String
14 version_string ()
15 {
16   String str = MAJOR_VERSION "." MINOR_VERSION "."  PATCH_LEVEL;
17   String mpl ("." MY_PATCH_LEVEL);
18   if (mpl != ".")
19     str += mpl;
20   return str;
21 }
22
23 String 
24 gnu_lilypond_string ()
25 {
26   String str = "GNU LilyPond";
27   return str;
28 }
29
30 String 
31 gnu_lilypond_version_string ()
32 {
33   String str = gnu_lilypond_string () + " " + version_string ();
34   return str;
35 }
36