diff options
author | Matthew Strapp <matt@mattstrapp.net> | 2024-05-12 09:30:24 -0500 |
---|---|---|
committer | Matt Strapp <matt@mattstrapp.net> | 2024-05-13 10:22:13 -0500 |
commit | e85b4f424ed239452567dab15fef6a4ad93b1775 (patch) | |
tree | edcdc527a27a12a2ccd08260e7fee8fba716b352 /meson.build | |
download | locusts-e85b4f424ed239452567dab15fef6a4ad93b1775.tar locusts-e85b4f424ed239452567dab15fef6a4ad93b1775.tar.gz locusts-e85b4f424ed239452567dab15fef6a4ad93b1775.tar.bz2 locusts-e85b4f424ed239452567dab15fef6a4ad93b1775.tar.lz locusts-e85b4f424ed239452567dab15fef6a4ad93b1775.tar.xz locusts-e85b4f424ed239452567dab15fef6a4ad93b1775.tar.zst locusts-e85b4f424ed239452567dab15fef6a4ad93b1775.zip |
Initial commit
Signed-off-by: Matt Strapp <matt@mattstrapp.net>
Diffstat (limited to '')
-rw-r--r-- | meson.build | 19 |
1 files changed, 19 insertions, 0 deletions
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 |