summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/harfbuzz-ng/harfbuzz-ng.pro
blob: bd0475fc057a925c9466d2a999f6693a26e13471 (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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
TARGET = qtharfbuzzng

CONFIG += \
    static \
    hide_symbols \
    exceptions_off rtti_off

load(qt_helper_lib)

DEFINES += HAVE_CONFIG_H
HEADERS += $$PWD/src/config.h

INCLUDEPATH += $$PWD/include

SOURCES += \
    $$PWD/src/hb-blob.cc \
    $$PWD/src/hb-buffer.cc \
    $$PWD/src/hb-buffer-serialize.cc \
    $$PWD/src/hb-common.cc \
    $$PWD/src/hb-face.cc \
    $$PWD/src/hb-font.cc \
    $$PWD/src/hb-ot-tag.cc \
    $$PWD/src/hb-set.cc \
    $$PWD/src/hb-shape.cc \
    $$PWD/src/hb-shape-plan.cc \
    $$PWD/src/hb-shaper.cc \
    $$PWD/src/hb-unicode.cc \
    $$PWD/src/hb-warning.cc

HEADERS += \
    $$PWD/src/hb-atomic-private.hh \
    $$PWD/src/hb-buffer-private.hh \
    $$PWD/src/hb-buffer-deserialize-json.hh \
    $$PWD/src/hb-buffer-deserialize-text.hh \
    $$PWD/src/hb-cache-private.hh \
    $$PWD/src/hb-face-private.hh \
    $$PWD/src/hb-font-private.hh \
    $$PWD/src/hb-mutex-private.hh \
    $$PWD/src/hb-object-private.hh \
    $$PWD/src/hb-open-file-private.hh \
    $$PWD/src/hb-open-type-private.hh \
    $$PWD/src/hb-ot-head-table.hh \
    $$PWD/src/hb-ot-hhea-table.hh \
    $$PWD/src/hb-ot-hmtx-table.hh \
    $$PWD/src/hb-ot-maxp-table.hh \
    $$PWD/src/hb-ot-name-table.hh \
    $$PWD/src/hb-private.hh \
    $$PWD/src/hb-set-private.hh \
    $$PWD/src/hb-shape-plan-private.hh \
    $$PWD/src/hb-shaper-impl-private.hh \
    $$PWD/src/hb-shaper-list.hh \
    $$PWD/src/hb-shaper-private.hh \
    $$PWD/src/hb-unicode-private.hh \
    $$PWD/src/hb-utf-private.hh

HEADERS += \
    $$PWD/src/hb.h \
    $$PWD/src/hb-blob.h \
    $$PWD/src/hb-buffer.h \
    $$PWD/src/hb-common.h \
    $$PWD/src/hb-face.h \
    $$PWD/src/hb-font.h \
    $$PWD/src/hb-set.h \
    $$PWD/src/hb-shape.h \
    $$PWD/src/hb-shape-plan.h \
    $$PWD/src/hb-unicode.h \
    $$PWD/src/hb-version.h

# Open Type
SOURCES += \
    $$PWD/src/hb-ot-layout.cc \
    $$PWD/src/hb-ot-map.cc \
    $$PWD/src/hb-ot-shape.cc \
    $$PWD/src/hb-ot-shape-complex-arabic.cc \
    $$PWD/src/hb-ot-shape-complex-default.cc \
    $$PWD/src/hb-ot-shape-complex-hangul.cc \
    $$PWD/src/hb-ot-shape-complex-hebrew.cc \
    $$PWD/src/hb-ot-shape-complex-indic.cc \
    $$PWD/src/hb-ot-shape-complex-indic-table.cc \
    $$PWD/src/hb-ot-shape-complex-myanmar.cc \
    $$PWD/src/hb-ot-shape-complex-sea.cc \
    $$PWD/src/hb-ot-shape-complex-thai.cc \
    $$PWD/src/hb-ot-shape-complex-tibetan.cc \
    $$PWD/src/hb-ot-shape-fallback.cc \
    $$PWD/src/hb-ot-shape-normalize.cc

HEADERS += \
    $$PWD/src/hb-ot-layout-common-private.hh \
    $$PWD/src/hb-ot-layout-gdef-table.hh \
    $$PWD/src/hb-ot-layout-gpos-table.hh \
    $$PWD/src/hb-ot-layout-gsubgpos-private.hh \
    $$PWD/src/hb-ot-layout-gsub-table.hh \
    $$PWD/src/hb-ot-layout-jstf-table.hh \
    $$PWD/src/hb-ot-layout-private.hh \
    $$PWD/src/hb-ot-map-private.hh \
    $$PWD/src/hb-ot-shape-complex-arabic-fallback.hh \
    $$PWD/src/hb-ot-shape-complex-arabic-table.hh \
    $$PWD/src/hb-ot-shape-complex-indic-machine.hh \
    $$PWD/src/hb-ot-shape-complex-indic-private.hh \
    $$PWD/src/hb-ot-shape-complex-myanmar-machine.hh \
    $$PWD/src/hb-ot-shape-complex-private.hh \
    $$PWD/src/hb-ot-shape-complex-sea-machine.hh \
    $$PWD/src/hb-ot-shape-fallback-private.hh \
    $$PWD/src/hb-ot-shape-normalize-private.hh \
    $$PWD/src/hb-ot-shape-private.hh

HEADERS += \
    $$PWD/src/hb-ot.h \
    $$PWD/src/hb-ot-layout.h \
    $$PWD/src/hb-ot-shape.h \
    $$PWD/src/hb-ot-tag.h

mac {
    # Apple Advanced Typography
    DEFINES += HAVE_CORETEXT

    SOURCES += \
        $$PWD/src/hb-coretext.cc

    HEADERS += \
        $$PWD/src/hb-coretext.h

    ios: \
        # On iOS CoreText and CoreGraphics are stand-alone frameworks
        LIBS_PRIVATE += -framework CoreText -framework CoreGraphics
    else: \
        # On Mac OS they are part of the ApplicationServices umbrella framework,
        # even in 10.8 where they were also made available stand-alone.
        LIBS_PRIVATE += -framework ApplicationServices
}