summaryrefslogtreecommitdiff
path: root/lily/lily-version.cc
blob: 03f605394de9ca9937a71fc6b168b2e350c8dec8 (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 = "GNU 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;
}