summaryrefslogtreecommitdiffstats
path: root/meson.build
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--meson.build8
1 files changed, 8 insertions, 0 deletions
diff --git a/meson.build b/meson.build
new file mode 100644
index 0000000..da667ce
--- /dev/null
+++ b/meson.build
@@ -0,0 +1,8 @@
+project('lisiblestd', 'c', default_options: ['c_std=c18', 'warning_level=3'])
+
+lisiblestd_incdir = include_directories('src/')
+lisiblestd_lib = library('lisiblestd', 'src/lisiblestd/memory.c', 'src/lisiblestd/string.c')
+lisiblestd_dep = declare_dependency(include_directories: lisiblestd_incdir, link_with: [lisiblestd_lib])
+
+test_string = executable('test_string', 'tests/test_runner.c', 'tests/string.c', dependencies: [lisiblestd_dep])
+test('test_string', test_string)
Go back to lisible.xyz