summaryrefslogtreecommitdiff
path: root/kmscube
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2020-09-05 10:54:18 +0300
committerTomi Valkeinen <tomi.valkeinen@ti.com>2020-09-14 11:40:34 +0300
commitccd3eb09b482d8a872b270436535c6c20ee4363f (patch)
tree0923d585f537cfac899133e7e27fc3cfbabbc8d2 /kmscube
parent5a920540b12253b1ebd7e658df19f916e3c55135 (diff)
Add meson build
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'kmscube')
-rw-r--r--kmscube/meson.build24
1 files changed, 24 insertions, 0 deletions
diff --git a/kmscube/meson.build b/kmscube/meson.build
new file mode 100644
index 0000000..68765f2
--- /dev/null
+++ b/kmscube/meson.build
@@ -0,0 +1,24 @@
+kmscube_sources = files([
+ 'cube.cpp',
+ 'cube-egl.cpp',
+ 'cube-gbm.cpp',
+ 'cube-gles2.cpp',
+ 'cube-null.cpp',
+ 'cube-wl.cpp',
+ 'cube-x11.cpp',
+ 'esTransform.cpp',
+])
+
+kmscube_deps = [
+ libdrm_dep, libkmsxx_dep, libkmsxxutil_dep, libfmt_dep,
+ dependency('x11'),
+ dependency('xcb'),
+ dependency('x11-xcb'),
+ dependency('gbm'),
+ dependency('wayland-client'),
+ dependency('wayland-egl'),
+ dependency('glesv2'),
+ dependency('egl'),
+]
+
+executable('kmscube', kmscube_sources, dependencies : kmscube_deps)