diff options
author | pommicket <pommicket@gmail.com> | 2025-09-14 22:08:22 -0400 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2025-09-14 22:08:22 -0400 |
commit | 969bf523b7039c7038b66edde5776278c27941ac (patch) | |
tree | 89a9754ff69046c813f238bff424be7cec722cdb /meson.build | |
parent | 0302aca4e1aa3eb495970af40a63f8bf4cf95779 (diff) |
Start tests
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 4 |
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) |