summaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorPhil Jones <philj56@gmail.com>2021-10-26 17:00:14 +0100
committerPhil Jones <philj56@gmail.com>2021-10-26 17:00:32 +0100
commit7a640bd0622caf8a3354934d0400e8c361cdeee3 (patch)
tree37cb644e500af10acd86e3395941ed3b50828040 /meson.build
parentbe50c08dabd7bdddaa47e8807c41f3c5b9a80be8 (diff)
Add EGL setup (unused for now).
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build7
1 files changed, 6 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index 7474a4f..cdffbdd 100644
--- a/meson.build
+++ b/meson.build
@@ -15,6 +15,9 @@ project(
)
debug = get_option('buildtype').startswith('debug')
+if debug
+ add_project_arguments('-DDEBUG', language : 'c')
+endif
data_location = join_paths(
get_option('prefix'),
@@ -34,7 +37,9 @@ add_project_arguments(
)
sources = files(
- 'src/client.c',
+ 'src/main.c',
+ 'src/log.c',
+ 'src/egl.c',
'src/xdg-shell-protocol.c',
)