summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZeeshan Ali <zeenix@collabora.co.uk>2018-07-11 16:42:51 +0200
committerZeeshan Ali <zeenix@collabora.co.uk>2018-07-11 19:29:19 +0200
commit07898e0420b1584ffb2df86fc98ba65d5f369827 (patch)
tree0b46a16b3fa055d9610341808184a59972e6605a
parentdf772b667c1700ab7db131cd470551384913bd6e (diff)
downloadgeoclue-07898e0420b1584ffb2df86fc98ba65d5f369827.tar.gz
build: Display a build summary at the end of meson run
This is to keep the same behaviour we had with autoconf.
-rw-r--r--meson.build29
1 files changed, 29 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index d52157e..6c6541f 100644
--- a/meson.build
+++ b/meson.build
@@ -53,3 +53,32 @@ subdir('po')
if get_option('gtk-doc')
subdir('docs')
endif
+
+# FIXME: Remove this once meson does it itself: https://github.com/mesonbuild/meson/issues/757
+summary = '''
+ GeoClue @0@
+ =================
+
+ prefix: @1@
+ c compiler: @2@
+ Systemd system unit dir: @3@
+
+ Backend: @4@
+ Convenience library: @5@
+ Introspection: @6@
+ 3G source: @7@
+ CDMA source: @8@
+ Modem GPS source: @9@
+ Network NMEA source: @10@
+'''.format(gclue_version,
+ get_option('prefix'),
+ cc.get_id(),
+ systemd_unit_dir,
+ get_option('enable-backend'),
+ get_option('libgeoclue'),
+ get_option('introspection'),
+ get_option('3g-source'),
+ get_option('cdma-source'),
+ get_option('modem-gps-source'),
+ get_option('nmea-source'))
+message(summary)