summaryrefslogtreecommitdiff
path: root/lily/lily-version.cc
blob: 389178bbc3bf14a2d78ed971701da28c86ac137e (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include "version.hh"
#include <stdio.h>

static char *s = "LilyPond " MAJOR_VERSION "." MINOR_VERSION "."  PATCH_LEVEL MY_PATCH_LEVEL " #%d";

static const int build=
#include ".build"
;

char const * 
lily_version_sz()
{
    static char v[1024];
    sprintf(v, s, build);
    return v;
}