meson: Add a summary at the end of configuration
authorsubhransu mohanty <sub.mohanty@samsung.com>
Wed, 17 Jul 2019 01:36:31 +0000 (10:36 +0900)
committerJunsuChoi <jsuya.choi@samsung.com>
Thu, 18 Jul 2019 11:04:28 +0000 (20:04 +0900)
meson.build

index 99068f7..b75cf0e 100644 (file)
@@ -72,5 +72,29 @@ if host_machine.system() != 'windows'
     endif
 endif
 
+summary = '''
+
+Summary:
+    rlottie version :        @0@
+    Build type      :        @1@
+    Thread Support  :        @2@
+    Module Support  :        @3@
+    Cache  Support  :        @4@
+    Example         :        @5@
+    Test            :        @6@
+    Prefix          :        @7@
+'''.format(
+        meson.project_version(),
+        get_option('buildtype'),
+        get_option('thread'),
+        get_option('module'),
+        get_option('cache'),
+        get_option('example'),
+        get_option('test'),
+        get_option('prefix'),
+    )
+
+message(summary)
+