aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meson.build4
1 files changed, 4 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index 0e9f476..9a7b459 100644
--- a/meson.build
+++ b/meson.build
@@ -1,9 +1,12 @@
project('librin', 'c',
license : 'LGPL2.1',
+ version : '0.0.3',
default_options : ['c_std=gnu89', 'buildtype=release'])
inc = include_directories('include')
+pkg = import('pkgconfig')
+
if get_option('gpio')
thread_dep = dependency('threads')
else
@@ -27,6 +30,7 @@ if get_option('shared')
librin = shared_library('rin', sources, version : '0.0.0', include_directories : inc, install : true, dependencies : deps)
endif
+pkg.generate(librin)
if get_option('tests')
subdir('test')