aboutsummaryrefslogtreecommitdiffstats
path: root/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build10
1 files changed, 6 insertions, 4 deletions
diff --git a/meson.build b/meson.build
index 7afb496..c38fa14 100644
--- a/meson.build
+++ b/meson.build
@@ -1,12 +1,14 @@
project('locusts', 'c', version: '1.0.0', default_options: ['warning_level=3'])
-source = 'include/locusts.h'
+source = 'src/locusts.c'
+header = 'include/locusts.h'
+includes = include_directories('include')
-lib = library('ocusts', source, install: true, version: meson.project_version(), soversion: '1')
+lib = library('ocusts', source, include_directories: includes, install: true, version: meson.project_version(), soversion: '1')
-project_dep =declare_dependency(include_directories: include_directories('include'))
+project_dep =declare_dependency(include_directories: includes)
-install_headers(source)
+install_headers(header)
pkg = import('pkgconfig')
pkg.generate(lib, description: 'A completely normal C library')