2018-11-12 16:36:27 +01:00
|
|
|
# HarfBuzz feature options
|
|
|
|
option('glib', type: 'feature', value: 'auto',
|
|
|
|
description: 'Enable GLib unicode functions')
|
|
|
|
option('gobject', type: 'feature', value: 'disabled',
|
|
|
|
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 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-04-23 11:34: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')
|
2018-11-14 14:49:03 +01:00
|
|
|
option('introspection', type : 'feature', value : 'disabled', yield : true,
|
|
|
|
description : 'Generate gobject-introspection bindings (.gir/.typelib files)')
|
2020-05-17 01:12:08 +02:00
|
|
|
option('gtk_doc', type : 'feature', value : 'auto', yield : true,
|
|
|
|
description : 'Generate documentation with gtk-doc')
|
2020-03-11 18:21:40 +01:00
|
|
|
|
2020-04-18 22:24:24 +02:00
|
|
|
option('icu-builtin', type: 'boolean', value: false,
|
|
|
|
description: 'Don\'t separate ICU support as harfbuzz-icu module')
|
2020-05-10 11:50:27 +02:00
|
|
|
option('with-libstdcxx', type: 'boolean', value: false,
|
|
|
|
description: 'Allow linking with libstdc++ (ignored and always enabled in Windows)')
|
2020-04-20 22:43:13 +02:00
|
|
|
option('experimental-api', type: 'boolean', value: false,
|
|
|
|
description: 'Enable experimental APIs')
|
2020-03-11 18:21:40 +01:00
|
|
|
option('amalgam', type : 'boolean', value : false,
|
|
|
|
description : 'Enable amalgam builds')
|