diff options
author | Mathieu Duponchelle <mathieu@centricular.com> | 2018-05-21 20:08:22 +0200 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2020-07-31 12:21:50 +0100 |
commit | 596a82f2d185b101bd74645492821fe2f9e0daa0 (patch) | |
tree | 3a595c888df37054bebb989455e73ea3683c6477 /meson_options.txt | |
parent | a75f8df95761bf88b54c326c5312117ea5073010 (diff) | |
download | cairo-596a82f2d185b101bd74645492821fe2f9e0daa0.tar.gz |
Add meson build definitions
Co-Authored by:
Nirbheek Chauhan <nirbheek@centricular.com>
lb90 <luca.bacci982@gmail.com>
Tim-Philipp Müller <tim@centricular.com>
Diffstat (limited to 'meson_options.txt')
-rw-r--r-- | meson_options.txt | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/meson_options.txt b/meson_options.txt new file mode 100644 index 000000000..6dff33efc --- /dev/null +++ b/meson_options.txt @@ -0,0 +1,34 @@ +# Cairo font backends +option('fontconfig', type : 'feature', value : 'auto') +option('freetype', type : 'feature', value : 'auto') + +# Cairo surface backends +option('cogl', type : 'feature', value : 'auto') +option('directfb', type : 'feature', value : 'auto') +option('gl-backend', type : 'combo', value : 'auto', + # FIXME: https://github.com/mesonbuild/meson/issues/4566 + choices : ['auto', 'gl', 'glesv2', 'glesv3', 'disabled']) +option('glesv2', type : 'feature', value : 'auto') +option('glesv3', type : 'feature', value : 'auto') +option('drm', type : 'feature', value : 'auto') +option('openvg', type : 'feature', value : 'auto') +option('png', type : 'feature', value : 'auto') # png and svg surfaces +option('qt', type : 'feature', value : 'auto') +option('xcb', type : 'feature', value : 'auto') +option('xlib', type : 'feature', value : 'auto') +option('zlib', type : 'feature', value : 'auto') # script, ps, pdf, xml surfaces + +# Tests +option('tests', type : 'feature', value : 'auto') + +# Util deps +option('gtk2-utils', type : 'feature', value : 'disabled') + +# Misc deps +option('glib', type : 'feature', value : 'auto') +option('spectre', type : 'feature', value : 'auto') + +# FIXME: implement these to avoid automagic +#option('egl', type : 'feature', value : 'auto') +#option('glx', type : 'feature', value : 'auto') +#option('wgl', type : 'feature', value : 'auto') |