From e85b4f424ed239452567dab15fef6a4ad93b1775 Mon Sep 17 00:00:00 2001 From: Matthew Strapp Date: Sun, 12 May 2024 09:30:24 -0500 Subject: Initial commit Signed-off-by: Matt Strapp --- meson.build | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 meson.build (limited to 'meson.build') diff --git a/meson.build b/meson.build new file mode 100644 index 0000000..174a582 --- /dev/null +++ b/meson.build @@ -0,0 +1,19 @@ +project('locusts', 'c', version: '1.0.0', default_options: ['warning_level=3']) + +source = 'include/locusts.h' + +lib = library('ocusts', source, install: true) + +project_dep =declare_dependency(include_directories: include_directories('include')) + +install_headers(source) + +pkg = import('pkgconfig') +pkg.generate(lib, description: 'A completely normal C library') + +if not meson.is_subproject() + test( + 'Locust Testing Utility', + executable('test_locusts', 'tests/test_locusts.c', link_with: lib, dependencies: project_dep), + ) +endif \ No newline at end of file -- cgit v1.2.3