Meson build options introspection
ClosedPublic

Authored by dmensinger on Fri, Jan 11, 11:10 PM.

Details

Summary

This adds basic meson introspection support based on the meson API
for 0.50.0 (current meson master branch).

This patch also adds a GUI for changing all build options for a
build directory.

Test Plan

For a new build directory:

  • Use the development version of meson
  • Make a new build directory and set the meson executable in the advanced options
  • The default build options should load after this
  • Play around with the options
  • Click OK and manually check with meson configure that the build options are correct

For an existing build directory:

  • Open the meson project configuration
  • The current options should be complete and match the actual values from meson configure
  • Changing and aplying changes should also update the meson configuration
  • Nothing should segfault :)

Diff Detail

Repository
R32 KDevelop
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
dmensinger created this revision.Fri, Jan 11, 11:10 PM
Restricted Application added a project: KDevelop. · View Herald TranscriptFri, Jan 11, 11:10 PM
Restricted Application added a subscriber: kdevelop-devel. · View Herald Transcript
dmensinger requested review of this revision.Fri, Jan 11, 11:10 PM
  • Fixed build options order
  • Refactored new build dir to avoid duplicate configures
  • More polish for the New build dir dialog
apol accepted this revision.Mon, Jan 14, 1:32 PM
apol added a subscriber: apol.

Looks good to me. In general I'd say you can feel free to develop the plugin and only run it through review if you want feedback on specific bits.

This revision is now accepted and ready to land.Mon, Jan 14, 1:32 PM

Sure, thanks. But how do I do that? Can I just push the commits?

This revision was automatically updated to reflect the committed changes.