[mutter/gbsneto/burn-autotools-with-fire: 3/6] meson: Print some configure flags



commit dcdd8b589479f0b1476527eeda14ae0101f4d578
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Mon Dec 17 13:39:54 2018 -0200

    meson: Print some configure flags
    
    Just an additional touch after adding installed tests,
    outputting those flags helped not losing track of them.

 meson.build | 44 ++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 44 insertions(+)
---
diff --git a/meson.build b/meson.build
index 92ff73e9e..a0f4487d5 100644
--- a/meson.build
+++ b/meson.build
@@ -324,3 +324,47 @@ subdir('data')
 subdir('src')
 subdir('po')
 subdir('doc/man')
+
+output = [
+  '',
+  '',
+  '   Mutter ' + meson.project_version(),
+  '  ===============',
+  '',
+  '    Prefix....................... ' + prefix,
+  '    libexecdir................... ' + libexecdir,
+  '    pkgdatadir................... ' + pkgdatadir,
+  '',
+  '    Rendering APIs:',
+  '',
+  '        OpenGL................... ' + have_gl.to_string(),
+  '        GLES2.................... ' + have_gles2.to_string(),
+  '        EGL...................... ' + have_egl.to_string(),
+  '        GLX...................... ' + have_glx.to_string(),
+  '',
+  '    Options:',
+  '',
+  '        Wayland.................. ' + have_wayland.to_string(),
+  '        Wayland EGLStream........ ' + have_wayland.to_string(),
+  '        Native Backend........... ' + have_native_backend.to_string(),
+  '        EGL Device............... ' + have_egl_device.to_string(),
+  '        Remote desktop........... ' + have_remote_desktop.to_string(),
+  '        gudev.................... ' + have_libgudev.to_string(),
+  '        canberra................. ' + have_libcanberra.to_string(),
+  '        Wacom.................... ' + have_libwacom.to_string(),
+  '        SM....................... ' + have_sm.to_string(),
+  '        Startup notification..... ' + have_startup_notification.to_string(),
+  '        Introspection............ ' + have_introspection.to_string(),
+  '',
+  '    Tests:',
+  '',
+  '        Enabled.................. ' + have_tests.to_string(),
+  '        Cogl tests............... ' + have_cogl_tests.to_string(),
+  '        Clutter tests............ ' + have_clutter_tests.to_string(),
+  '        Installed tests.......... ' + have_installed_tests.to_string(),
+  '',
+  '  Now type \'ninja -C ' + meson.build_root() + '\' to build ' + meson.project_name(),
+  '',
+  '',
+]
+message('\n'.join(output))


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]