summaryrefslogtreecommitdiffstats
path: root/meson.build
diff options
context:
space:
mode:
authorClement Sibille <clements+git@lisible.xyz>2024-05-09 08:58:14 +0900
committerClement Sibille <clements+git@lisible.xyz>2024-05-09 08:58:14 +0900
commit5a26e1f481fe85f08093a414e27c1056b85c6715 (patch)
tree20a2384554cfcb437a4b604e02b4a9978507cafc /meson.build
Initial commit
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