blob: 174a5825bd4fc7ef4ba9f0a5d3d8c52179ecf019 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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
|