aboutsummaryrefslogtreecommitdiff
path: root/render
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2017-08-11 09:37:09 -0400
committerDrew DeVault <sir@cmpwn.com>2017-08-11 09:37:09 -0400
commit62d8b252c093b3bd71362b1c76cb70b16a6cd63a (patch)
treeff109926a2e2e9f4ce8c445cbd8c07e4e9da59ef /render
parenta6efb9038219562f65c20c997996b74dffed3910 (diff)
Refactor meson and move xdg-shell into wlroots
Diffstat (limited to 'render')
-rw-r--r--render/meson.build24
1 files changed, 13 insertions, 11 deletions
diff --git a/render/meson.build b/render/meson.build
index a0a44ea2..388a6080 100644
--- a/render/meson.build
+++ b/render/meson.build
@@ -1,11 +1,13 @@
-wlr_files += files(
- 'egl.c',
- 'matrix.c',
- 'gles2/pixel_format.c',
- 'gles2/renderer.c',
- 'gles2/shaders.c',
- 'gles2/texture.c',
- 'gles2/util.c',
- 'wlr_renderer.c',
- 'wlr_texture.c',
-)
+lib_wlr_render = static_library('wlr_render', files(
+ 'egl.c',
+ 'matrix.c',
+ 'gles2/pixel_format.c',
+ 'gles2/renderer.c',
+ 'gles2/shaders.c',
+ 'gles2/texture.c',
+ 'gles2/util.c',
+ 'wlr_renderer.c',
+ 'wlr_texture.c',
+ ),
+ include_directories: wlr_inc,
+ dependencies: [glesv2, egl])