summaryrefslogtreecommitdiff
path: root/public-api
diff options
context:
space:
mode:
authorZeeshan Ali <zeenix@gmail.com>2017-07-20 14:33:10 +0200
committerZeeshan Ali <zeenix@collabora.co.uk>2018-07-09 13:27:54 +0200
commitaf187c8e5463abb744198c870443884b37f16412 (patch)
treedd3877cfea9ea6d54bee27ca8fd3d1dd120f3282 /public-api
parente1918f732397090c44e46e1339bc4d06a40de958 (diff)
downloadgeoclue-af187c8e5463abb744198c870443884b37f16412.tar.gz
Add meson build support
During the porting I found some issues in meson that have been fixed in the git master and hence we require the upcoming release of meson: 0.47.0.
Diffstat (limited to 'public-api')
-rw-r--r--public-api/meson.build17
1 files changed, 17 insertions, 0 deletions
diff --git a/public-api/meson.build b/public-api/meson.build
new file mode 100644
index 0000000..b12a04e
--- /dev/null
+++ b/public-api/meson.build
@@ -0,0 +1,17 @@
+headers = [ 'gclue-enums.h' ]
+
+header_dir = 'libgeoclue-' + gclue_api_version
+install_headers(headers, subdir: header_dir)
+
+gen_sources = gnome.mkenums_simple('gclue-enum-types',
+ sources: headers,
+ header_prefix: '#include <gclue-enums.h>',
+ decorator : 'GCLUE_ENUMS_H',
+ install_header: true,
+ install_dir: 'include/' + header_dir)
+
+libgeoclue_public_api_inc = include_directories('.')
+libgeoclue_public_api = static_library('geoclue-public-api',
+ gen_sources,
+ dependencies: base_deps,
+ install: false)