From 5a26e1f481fe85f08093a414e27c1056b85c6715 Mon Sep 17 00:00:00 2001 From: Clement Sibille Date: Thu, 9 May 2024 08:58:14 +0900 Subject: Initial commit --- meson.build | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 meson.build (limited to 'meson.build') 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) -- cgit v1.2.3