summaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build4
1 files changed, 3 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index 3a09963..5fafc31 100644
--- a/meson.build
+++ b/meson.build
@@ -2,4 +2,6 @@ project('pom', 'c',
# Note: Only C99 is strictly needed
default_options: ['c_std=c23'])
library('pom', 'pom.c')
-static_library('pom', 'pom.c')
+static_lib = static_library('pom', 'pom.c')
+tests = executable('tests', 'tests/main.c', 'tests/parsing.c', link_with: [static_lib])
+test('tests', tests)