summaryrefslogtreecommitdiff
path: root/meson_options.txt
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2017-10-22 18:40:24 +0300
committerChris Wilson <chris@chris-wilson.co.uk>2018-02-06 13:12:33 +0000
commit781fd07e5518b21b5d910e0c58108a517903fda3 (patch)
tree74d3f45ddbbbba880cd6a5397de505a4a13d8c76 /meson_options.txt
parenta3a9e99b527936502a10aed7559799b2aa1e186e (diff)
downloadxorg-driver-xf86-video-intel-781fd07e5518b21b5d910e0c58108a517903fda3.tar.gz
meson: Add meson build system
Allow building the driver with meson. Could probably use plenty of cleanups, but at least it gives me a working driver. And I think I managed to make it build everything that autotools builds. Quite a few compiler warnings were suppressed as well. Might want to look at those at some point. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Diffstat (limited to 'meson_options.txt')
-rw-r--r--meson_options.txt42
1 files changed, 42 insertions, 0 deletions
diff --git a/meson_options.txt b/meson_options.txt
new file mode 100644
index 00000000..99312740
--- /dev/null
+++ b/meson_options.txt
@@ -0,0 +1,42 @@
+option('sna', type : 'boolean', value : true,
+ description : 'Build with SNA support')
+option('uxa', type : 'boolean', value : true,
+ description : 'Build with UXA support')
+option('xaa', type : 'boolean', value : true,
+ description : 'Build with XAA support')
+option('ums', type : 'boolean', value : true,
+ description : 'Build with UMS support')
+option('kms', type : 'boolean', value : true,
+ description : 'Build with KMS support')
+option('dri1', type : 'boolean', value : true,
+ description : 'Build DRI1 support')
+option('dri2', type : 'boolean', value : true,
+ description : 'Build with DRI2 support')
+option('dri3', type : 'boolean', value : true,
+ description : 'Build with DRI3 support')
+option('present', type : 'boolean', value : true,
+ description : 'Enable Present support')
+option('xvmc', type : 'boolean', value : true,
+ description : 'Enable XvMC support')
+option('valgrind', type : 'boolean', value : true,
+ description : 'Enable valgrindified ioctls for debugging')
+option('default-dri', type : 'combo', value : '2', choices : [ '1', '2', '3' ],
+ description : 'Select the default maximum DRI level')
+option('default-accel', type : 'combo', value : 'sna', choices : [ 'sna', 'uxa', 'none' ],
+ description : 'Select the default acceleration method')
+option('tools', type : 'boolean', value : true,
+ description : 'Enable building and installing the miscellaneous tools')
+option('backlight', type : 'boolean', value : true,
+ description : 'Enable control of the backlight')
+option('backlight-helper', type : 'boolean', value : true,
+ description : 'Enable building the backlight helper executable for running X under a normal user')
+option('tearfree', type : 'boolean', value : false,
+ description : 'Enable use of TearFree by default')
+option('use-create2', type : 'boolean', value : false,
+ description : 'Enable use of create2 ioctl (experimental)')
+option('async-swap', type : 'boolean', value : false,
+ description : 'Enable use of asynchronous swaps (experimental)')
+option('debug', type : 'combo', value : 'no', choices : [ 'no', 'sync', 'memory', 'pixmap', 'full' ],
+ description : 'Enable internal debugging')
+option('xorg-module-dir', type : 'string', value : '@libdir@/xorg/modules',
+ description : 'Default xorg module directory')