mesonbuild / mesonbuild/meson

Do something smarter with options

Open
#4,574 10 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
6.6k
Forks
1.9k
Avg merge
2d 6h
Merged PRs (30d)
33

Description

We have a lot of options, which makes the option list already quite difficult to decipher. We are probably going to get more, see for example #2567. This means we should have some better way of managing them.

A possible option is to mark rarer options as "advanced" and hide them by default. They would only be shown if doing `meson configure --advanced`.

Other approaches to providing for this are gladly accepted. This is just something I come up with after 10 minutes of thinking.

Contributor guide

Open the contributing guide

Research direction

Start by examining how the `meson configure` command currently presents options, then read issue #2567 for related context. The issue proposes an advanced-option mode but leaves alternative designs and implementation scope open, so a contributor would first need to define the behavior and identify the relevant option-handling code.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system, cli
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.