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