blob: 9ebba72c6d39f1e64cfdb2f1eea39842be52a1a4 [file] [log] [blame]
Tim-Philipp Müller49ba2112018-11-12 15:36:27 +00001# HarfBuzz feature options
2option('glib', type: 'feature', value: 'auto',
3 description: 'Enable GLib unicode functions')
Ebrahim Byagowie98aa0c2020-06-02 16:25:22 +04304option('gobject', type: 'feature', value: 'auto',
Tim-Philipp Müller49ba2112018-11-12 15:36:27 +00005 description: 'Enable GObject bindings')
6option('cairo', type: 'feature', value: 'auto',
7 description: 'Use Cairo graphics library')
Hans Petter Jansson8298c2f2021-04-23 18:37:58 +02008option('chafa', type: 'feature', value: 'auto',
9 description: 'Use Chafa terminal graphics library')
Tim-Philipp Müller49ba2112018-11-12 15:36:27 +000010option('icu', type: 'feature', value: 'auto',
11 description: 'Enable ICU library unicode functions')
12option('graphite', type: 'feature', value: 'disabled',
Khaled Hosny792ca302021-10-05 19:00:29 +020013 description: 'Deprecated use graphite2 option instead')
14option('graphite2', type: 'feature', value: 'disabled',
Tim-Philipp Müller49ba2112018-11-12 15:36:27 +000015 description: 'Enable Graphite2 complementary shaper')
16option('freetype', type: 'feature', value: 'auto',
17 description: 'Enable freetype interop helpers')
Chun-wei Fan838346c2020-03-13 18:01:17 +080018option('gdi', type: 'feature', value: 'disabled',
19 description: 'Enable GDI helpers and Uniscribe shaper backend (Windows only)')
Tim-Philipp Müller83ebbe42018-11-12 16:56:56 +000020option('directwrite', type: 'feature', value: 'disabled',
21 description: 'Enable DirectWrite shaper backend on Windows (experimental)')
Tim-Philipp Müller4840c822018-11-12 16:56:56 +000022option('coretext', type: 'feature', value: 'disabled',
23 description: 'Enable CoreText shaper backend on macOS')
Tim-Philipp Müller49ba2112018-11-12 15:36:27 +000024
25# Common feature options
Ebrahim Byagowi62de2f72020-06-11 19:09:24 +043026option('tests', type: 'feature', value: 'enabled', yield: true,
Tim-Philipp Müller6147df32018-11-14 10:12:40 +000027 description: 'Enable or disable unit tests')
Ebrahim Byagowi62de2f72020-06-11 19:09:24 +043028option('introspection', type: 'feature', value: 'auto', yield: true,
29 description: 'Generate gobject-introspection bindings (.gir/.typelib files)')
Ebrahim Byagowif9ac6dd2020-07-22 17:53:04 +043030option('docs', type: 'feature', value: 'auto', yield: true,
Ebrahim Byagowi62de2f72020-06-11 19:09:24 +043031 description: 'Generate documentation with gtk-doc')
Ebrahim Byagowif8c8be02020-03-11 20:51:40 +033032
Khaled Hosny68d2e1b2021-01-21 14:39:19 +020033option('benchmark', type: 'feature', value: 'disabled',
Ebrahim Byagowi95b10812020-06-09 17:37:36 +043034 description: 'Enable benchmark tests')
Ebrahim Byagowicc53fd12020-05-21 19:33:18 +043035option('icu_builtin', type: 'boolean', value: false,
Ebrahim Byagowic6b3f732020-04-19 00:54:24 +043036 description: 'Don\'t separate ICU support as harfbuzz-icu module')
Ebrahim Byagowicc53fd12020-05-21 19:33:18 +043037option('experimental_api', type: 'boolean', value: false,
Ebrahim Byagowi750bb732020-04-21 01:13:13 +043038 description: 'Enable experimental APIs')
Khaled Hosnya59e7ec2021-09-15 14:02:52 +020039option('ragel_subproject', type: 'boolean', value: false,
40 description: 'Build Ragel subproject if no suitable version is found')
Ebrahim Byagowid608f2a2020-07-06 22:40:51 +043041option('fuzzer_ldflags', type: 'string',
42 description: 'Extra LDFLAGS used during linking of fuzzing binaries')