2018-11-12 15:36:27 +00:00
|
|
|
# HarfBuzz feature options
|
|
|
|
option('glib', type: 'feature', value: 'auto',
|
|
|
|
description: 'Enable GLib unicode functions')
|
2020-06-02 11:55:22 +00:00
|
|
|
option('gobject', type: 'feature', value: 'auto',
|
2018-11-12 15:36:27 +00:00
|
|
|
description: 'Enable GObject bindings')
|
|
|
|
option('cairo', type: 'feature', value: 'auto',
|
|
|
|
description: 'Use Cairo graphics library')
|
|
|
|
option('fontconfig', type: 'feature', value: 'auto',
|
|
|
|
description: 'Use fontconfig')
|
|
|
|
option('icu', type: 'feature', value: 'auto',
|
|
|
|
description: 'Enable ICU library unicode functions')
|
|
|
|
option('graphite', type: 'feature', value: 'disabled',
|
|
|
|
description: 'Enable Graphite2 complementary shaper')
|
|
|
|
option('freetype', type: 'feature', value: 'auto',
|
|
|
|
description: 'Enable freetype interop helpers')
|
2020-03-13 10:01:17 +00:00
|
|
|
option('gdi', type: 'feature', value: 'disabled',
|
|
|
|
description: 'Enable GDI helpers and Uniscribe shaper backend (Windows only)')
|
2018-11-12 16:56:56 +00:00
|
|
|
option('directwrite', type: 'feature', value: 'disabled',
|
|
|
|
description: 'Enable DirectWrite shaper backend on Windows (experimental)')
|
2018-11-12 16:56:56 +00:00
|
|
|
option('coretext', type: 'feature', value: 'disabled',
|
|
|
|
description: 'Enable CoreText shaper backend on macOS')
|
2018-11-12 15:36:27 +00:00
|
|
|
|
|
|
|
# Common feature options
|
2020-06-11 14:39:24 +00:00
|
|
|
option('tests', type: 'feature', value: 'enabled', yield: true,
|
2018-11-14 10:12:40 +00:00
|
|
|
description: 'Enable or disable unit tests')
|
2020-06-11 14:39:24 +00:00
|
|
|
option('introspection', type: 'feature', value: 'auto', yield: true,
|
|
|
|
description: 'Generate gobject-introspection bindings (.gir/.typelib files)')
|
2020-07-22 13:23:04 +00:00
|
|
|
option('docs', type: 'feature', value: 'auto', yield: true,
|
2020-06-11 14:39:24 +00:00
|
|
|
description: 'Generate documentation with gtk-doc')
|
2020-03-11 17:21:40 +00:00
|
|
|
|
2021-01-21 12:39:19 +00:00
|
|
|
option('benchmark', type: 'feature', value: 'disabled',
|
2020-06-09 13:07:36 +00:00
|
|
|
description: 'Enable benchmark tests')
|
2020-05-21 15:03:18 +00:00
|
|
|
option('icu_builtin', type: 'boolean', value: false,
|
2020-04-18 20:24:24 +00:00
|
|
|
description: 'Don\'t separate ICU support as harfbuzz-icu module')
|
2020-05-21 15:03:18 +00:00
|
|
|
option('experimental_api', type: 'boolean', value: false,
|
2020-04-20 20:43:13 +00:00
|
|
|
description: 'Enable experimental APIs')
|
2020-07-06 18:10:51 +00:00
|
|
|
option('fuzzer_ldflags', type: 'string',
|
|
|
|
description: 'Extra LDFLAGS used during linking of fuzzing binaries')
|