... |
... |
@@ -76,25 +76,8 @@ ftcommon_lib = static_library('ftcommon', |
76
|
76
|
link_with: [common_lib, graph_lib],
|
77
|
77
|
)
|
78
|
78
|
|
79
|
|
-executable('fttimer',
|
80
|
|
- 'src/fttimer.c',
|
81
|
|
- dependencies: libfreetype2_dep,
|
82
|
|
- install: false)
|
83
|
|
-
|
84
|
|
-executable('ftchkwd',
|
85
|
|
- 'src/ftchkwd.c',
|
86
|
|
- dependencies: libfreetype2_dep,
|
87
|
|
- install: false)
|
88
|
79
|
|
89
|
|
-executable('ftmemchk',
|
90
|
|
- 'src/ftmemchk.c',
|
91
|
|
- dependencies: libfreetype2_dep,
|
92
|
|
- install: false)
|
93
|
|
-
|
94
|
|
-executable('ftpatchk',
|
95
|
|
- 'src/ftpatchk.c',
|
96
|
|
- dependencies: libfreetype2_dep,
|
97
|
|
- install: false)
|
|
80
|
+# programs
|
98
|
81
|
|
99
|
82
|
executable('ftbench',
|
100
|
83
|
'src/ftbench.c',
|
... |
... |
@@ -102,17 +85,10 @@ executable('ftbench', |
102
|
85
|
link_with: common_lib,
|
103
|
86
|
install: true)
|
104
|
87
|
|
105
|
|
-executable('ftdump',
|
106
|
|
- 'src/ftdump.c',
|
107
|
|
- dependencies: libfreetype2_dep,
|
108
|
|
- link_with: [common_lib, output_lib],
|
109
|
|
- install: true)
|
110
|
|
-
|
111
|
|
-executable('ftlint',
|
112
|
|
- 'src/ftlint.c',
|
|
88
|
+executable('ftchkwd',
|
|
89
|
+ 'src/ftchkwd.c',
|
113
|
90
|
dependencies: libfreetype2_dep,
|
114
|
|
- link_with: common_lib,
|
115
|
|
- install: true)
|
|
91
|
+ install: false)
|
116
|
92
|
|
117
|
93
|
executable('ftdiff',
|
118
|
94
|
'src/ftdiff.c',
|
... |
... |
@@ -121,6 +97,12 @@ executable('ftdiff', |
121
|
97
|
link_with: ftcommon_lib,
|
122
|
98
|
install: true)
|
123
|
99
|
|
|
100
|
+executable('ftdump',
|
|
101
|
+ 'src/ftdump.c',
|
|
102
|
+ dependencies: libfreetype2_dep,
|
|
103
|
+ link_with: [common_lib, output_lib],
|
|
104
|
+ install: true)
|
|
105
|
+
|
124
|
106
|
executable('ftgamma',
|
125
|
107
|
'src/ftgamma.c',
|
126
|
108
|
dependencies: [libfreetype2_dep, math_dep],
|
... |
... |
@@ -135,6 +117,17 @@ executable('ftgrid', |
135
|
117
|
link_with: [ftcommon_lib, output_lib],
|
136
|
118
|
install: true)
|
137
|
119
|
|
|
120
|
+executable('ftlint',
|
|
121
|
+ 'src/ftlint.c',
|
|
122
|
+ dependencies: libfreetype2_dep,
|
|
123
|
+ link_with: common_lib,
|
|
124
|
+ install: true)
|
|
125
|
+
|
|
126
|
+executable('ftmemchk',
|
|
127
|
+ 'src/ftmemchk.c',
|
|
128
|
+ dependencies: libfreetype2_dep,
|
|
129
|
+ install: false)
|
|
130
|
+
|
138
|
131
|
executable('ftmulti',
|
139
|
132
|
'src/ftmulti.c',
|
140
|
133
|
dependencies: libfreetype2_dep,
|
... |
... |
@@ -142,6 +135,11 @@ executable('ftmulti', |
142
|
135
|
link_with: ftcommon_lib,
|
143
|
136
|
install: true)
|
144
|
137
|
|
|
138
|
+executable('ftpatchk',
|
|
139
|
+ 'src/ftpatchk.c',
|
|
140
|
+ dependencies: libfreetype2_dep,
|
|
141
|
+ install: false)
|
|
142
|
+
|
145
|
143
|
executable('ftsdf',
|
146
|
144
|
'src/ftsdf.c',
|
147
|
145
|
dependencies: libfreetype2_dep,
|
... |
... |
@@ -156,6 +154,17 @@ executable('ftstring', |
156
|
154
|
link_with: ftcommon_lib,
|
157
|
155
|
install: true)
|
158
|
156
|
|
|
157
|
+executable('fttimer',
|
|
158
|
+ 'src/fttimer.c',
|
|
159
|
+ dependencies: libfreetype2_dep,
|
|
160
|
+ install: false)
|
|
161
|
+
|
|
162
|
+executable('ftvalid',
|
|
163
|
+ 'src/ftvalid.c',
|
|
164
|
+ dependencies: libfreetype2_dep,
|
|
165
|
+ link_with: common_lib,
|
|
166
|
+ install: true)
|
|
167
|
+
|
159
|
168
|
executable('ftview',
|
160
|
169
|
'src/ftview.c',
|
161
|
170
|
dependencies: libfreetype2_dep,
|
... |
... |
@@ -163,12 +172,20 @@ executable('ftview', |
163
|
172
|
link_with: ftcommon_lib,
|
164
|
173
|
install: true)
|
165
|
174
|
|
166
|
|
-executable('ftvalid',
|
167
|
|
- 'src/ftvalid.c',
|
|
175
|
+# This program only works if FreeType has been compiled with enabled option
|
|
176
|
+# `TT_CONFIG_OPTION_BYTECODE_INTERPRETER` (which is the default).
|
|
177
|
+#
|
|
178
|
+# We need a path into FreeType's `src/truetype` directory. This is
|
|
179
|
+# something normal applications should never need.
|
|
180
|
+executable('ttdebug',
|
|
181
|
+ 'src/ttdebug.c',
|
168
|
182
|
dependencies: libfreetype2_dep,
|
|
183
|
+ c_args: '-DFT2_BUILD_LIBRARY=1',
|
|
184
|
+ include_directories: 'subprojects/freetype2/src/truetype',
|
169
|
185
|
link_with: common_lib,
|
170
|
186
|
install: true)
|
171
|
187
|
|
|
188
|
+
|
172
|
189
|
install_man([
|
173
|
190
|
'man/ftbench.1',
|
174
|
191
|
'man/ftdiff.1',
|