aboutsummaryrefslogtreecommitdiff
path: root/foot-features.c
blob: 8e332517f85894a28421404f05fb037ca4b5e642 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#include "foot-features.h"
#include "version.h"

const char version_and_features[] =
    "version: " FOOT_VERSION

#if defined(FOOT_PGO_ENABLED) && FOOT_PGO_ENABLED
    " +pgo"
#else
    " -pgo"
#endif

#if defined(FOOT_IME_ENABLED) && FOOT_IME_ENABLED
    " +ime"
#else
    " -ime"
#endif

#if defined(FOOT_GRAPHEME_CLUSTERING) && FOOT_GRAPHEME_CLUSTERING
    " +graphemes"
#else
    " -graphemes"
#endif

#if defined(HAVE_XDG_TOPLEVEL_TAG)
    " +toplevel-tag"
#else
    " -toplevel-tag"
#endif

#if defined(HAVE_EXT_BACKGROUND_EFFECT)
    " +blur"
#else
    " -blur"
#endif

#if !defined(NDEBUG)
    " +assertions"
#else
    " -assertions"
#endif
;