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



commit 570e80081a75b21dd72de4961ca297a6007ed526
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 | 38 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)
---
diff --git a/meson.build b/meson.build
index 7f6bb43a3..78e1a55e9 100644
--- a/meson.build
+++ b/meson.build
@@ -319,3 +319,41 @@ subdir('data')
 subdir('src')
 subdir('po')
 subdir('doc/man')
+
+output  = '\n\n'
+output += '  Mutter ' + meson.project_version() + '\n'
+output += '  ===============\n'
+output += '\n'
+output += '\n'
+output += '        Prefix................... ' + prefix + '\n'
+output += '        libexecdir............... ' + libexecdir + '\n'
+output += '        pkgdatadir............... ' + pkgdatadir + '\n'
+output += '\n'
+output += '    Rendering APIs:\n'
+output += '\n'
+output += '        OpenGL................... ' + have_gl.to_string() + '\n'
+output += '        EGL...................... ' + have_egl.to_string() + '\n'
+output += '        GLX...................... ' + have_glx.to_string() + '\n'
+output += '\n'
+output += '    Options:\n'
+output += '\n'
+output += '        Wayland.................. ' + have_wayland.to_string() + '\n'
+output += '        Wayland EGLStream........ ' + have_wayland.to_string() + '\n'
+output += '        Native Backend........... ' + have_native_backend.to_string() + '\n'
+output += '        EGL Device............... ' + have_egl_device.to_string() + '\n'
+output += '        gudev.................... ' + have_libgudev.to_string() + '\n'
+output += '        canberra................. ' + have_libcanberra.to_string() + '\n'
+output += '        Wacom.................... ' + have_libwacom.to_string() + '\n'
+output += '        SM....................... ' + have_sm.to_string() + '\n'
+output += '        Startup notification..... ' + have_startup_notification.to_string() + '\n'
+output += '        Introspection............ ' + have_introspection.to_string() + '\n'
+output += '\n'
+output += '    Tests:\n'
+output += '\n'
+output += '        Cogl..................... ' + have_cogl_tests.to_string() + '\n'
+output += '        Clutter.................. ' + have_clutter_tests.to_string() + '\n'
+output += '        Installed tests.......... ' + have_installed_tests.to_string() + '\n'
+output += '\n'
+output += '  Now type \'ninja -C ' + meson.build_root() + '\' to build ' + meson.project_name()
+output += '\n\n'
+message(output)


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