Meson Build Options

Problem

Currently, enabling features for a configuration requires that the user type them into the "Configure Options" section of the config in Build Preferences. Meson knows about the available options in meson_options.txt. Builder can use that information to provide toggles or combobox to the user in Build Preferences.

Goals

  1. Add a new section with IdeConfigViewAddin for Meson with discovered options from meson_options.txt.

  2. Mark the configuration dirty when the options are changed.

Anti-Goals

Affected Modules

  1. Meson plugin (src/plugins/meson)

Interfaces

No new interfaces should be required.

Risks

  1. We need to be careful about timing, so that we don't repeatedly fire off new builds while the user is editing the live configuration.

Implementation Details

Apps/Builder/ThreePointThirtyfive/MesonBuildOptions (last edited 2019-09-19 01:40:38 by ChristianHergert)