summaryrefslogtreecommitdiff
path: root/dri3
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2017-03-11 10:24:04 -0800
committerEric Anholt <eric@anholt.net>2017-04-26 15:25:27 -0700
commit1549e30372756cfdb85379fd8d93c769297ab6e6 (patch)
tree6160835c9dbe15e39ce799f8b1f6a6fdedd89825 /dri3
parentc7be7a688a78a34f61b90c0d95914e14b90b0cdc (diff)
Add a Meson build system alongside autotools.
This is a work in progress that builds Xvfb, Xephyr, Xwayland, Xnest, and Xdmx so far. The outline of Xquartz/Xwin support is in tree, but hasn't been built yet. The unit tests are also not done. The intent is to build this as a complete replacement for the autotools system, then eventually replace autotools. meson is faster to generate the build, faster to run the bulid, shorter to write the build files in, and less error-prone than autotools. v2: Fix indentation nits, move version declaration to project(), use existing meson_options for version-config.h's vendor name/web. Signed-off-by: Eric Anholt <eric@anholt.net> Acked-by: Keith Packard <keithp@keithp.com> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'dri3')
-rw-r--r--dri3/meson.build12
1 files changed, 12 insertions, 0 deletions
diff --git a/dri3/meson.build b/dri3/meson.build
new file mode 100644
index 000000000..abb13c63a
--- /dev/null
+++ b/dri3/meson.build
@@ -0,0 +1,12 @@
+srcs_dri3 = [
+ 'dri3.c',
+ 'dri3_request.c',
+ 'dri3_screen.c',
+]
+
+libxserver_dri3 = static_library('libxserver_dri3',
+ srcs_dri3,
+ include_directories: inc,
+ dependencies: common_dep,
+ c_args: '-DHAVE_XORG_CONFIG_H'
+)