lilypond-1.5.9
[lilypond.git] / lily / lily-version.cc
blob40220a5532f2f8b42498d1575a7a277e785d0067
1 /*
2 lily-version.cc -- implement version strings
4 source file of the GNU LilyPond music typesetter
6 (c) 1999--2001 Jan Nieuwenhuizen <janneke@gnu.org>
7 */
9 #include "config.h"
10 #include "version.hh"
11 #include "lily-version.hh"
13 String
14 version_str ()
16 String str (MAJOR_VERSION "." MINOR_VERSION "." PATCH_LEVEL);
17 String mpl ("." MY_PATCH_LEVEL);
18 if (mpl != ".")
19 str += mpl;
20 return str;
23 String
24 gnu_lilypond_str ()
26 String str = "GNU LilyPond";
27 return str;
30 String
31 gnu_lilypond_version_str ()
33 String str = gnu_lilypond_str () + " " + version_str ();
34 return str;