summaryrefslogtreecommitdiff
path: root/src/wm-tester/meson.build
diff options
context:
space:
mode:
authorWu Xiaotian <[email protected]>2019-06-19 22:04:32 +0800
committerlukefromdc <[email protected]>2019-07-13 22:26:39 +0000
commitd86c29b0e518f765e7570573c76bc033fbd17f6d (patch)
treea4ac9135d5328c8955f4a60b70ee86a5ee22150c /src/wm-tester/meson.build
parent9c6676b1efa27aa103b5eddb28f97488a63a5190 (diff)
downloadmarco-d86c29b0e518f765e7570573c76bc033fbd17f6d.tar.bz2
marco-d86c29b0e518f765e7570573c76bc033fbd17f6d.tar.xz
switch to use meson build system
Diffstat (limited to 'src/wm-tester/meson.build')
-rw-r--r--src/wm-tester/meson.build65
1 files changed, 65 insertions, 0 deletions
diff --git a/src/wm-tester/meson.build b/src/wm-tester/meson.build
new file mode 100644
index 00000000..14d8c8bf
--- /dev/null
+++ b/src/wm-tester/meson.build
@@ -0,0 +1,65 @@
+test1 = executable('wm-tester',
+ 'main.c',
+ include_directories : [
+ include_directories('.'),
+ include_directories('..'),
+ ],
+ dependencies: marco_deps,
+ link_with : [
+ libmarco
+ ],
+)
+
+test2 = executable('test-gravity',
+ 'test-gravity.c',
+ include_directories : [
+ include_directories('.'),
+ include_directories('..'),
+ ],
+ dependencies: marco_deps,
+ link_with : [
+ libmarco
+ ],
+)
+
+test3 = executable('test-resizing',
+ 'test-resizing.c',
+ include_directories : [
+ include_directories('.'),
+ include_directories('..'),
+ ],
+ dependencies: marco_deps,
+ link_with : [
+ libmarco
+ ],
+)
+
+test4 = executable('focus-window',
+ 'focus-window.c',
+ include_directories : [
+ include_directories('.'),
+ include_directories('..'),
+ ],
+ dependencies: marco_deps,
+ link_with : [
+ libmarco
+ ],
+)
+
+test5 = executable('test-size-hints',
+ 'test-size-hints.c',
+ include_directories : [
+ include_directories('.'),
+ include_directories('..'),
+ ],
+ dependencies: marco_deps,
+ link_with : [
+ libmarco
+ ],
+)
+
+test('wm-tester', test1)
+test('test-gravity', test2)
+test('test-resizing', test3)
+test('focus-window', test4)
+test('test-size-hints', test5)