Meson build options introspection

Authored by dmensinger on Jan 12 2019, 12:43 PM.

Description

Meson build options introspection

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 :)

Reviewers: apol

Reviewed By: apol

Subscribers: apol, flherne, kdevelop-devel

Tags: KDevelop

Differential Revision: https://phabricator.kde.org/D18202

Details

Committed
dmensingerJan 15 2019, 2:43 PM
Reviewer
apol
Differential Revision
D18202: Meson build options introspection
Parents
R32:1edf5e21ae0c: Merge branch '5.3'
Branches
Unknown
Tags
Unknown