Skip to content

Default meson setup arguments #329

Closed
@FFY00

Description

@FFY00

Currently, we default to -Ddebug=false -Doptimization=2. When we did this, see #27, we always meant to add a way to disable it and allow customizing the options. In #167, we added a way to pass arguments to Meson, but we didn't revisit this.

# TODO: Allow configuring these arguments
'-Ddebug=false',
'-Doptimization=2',

So, we need to figure out how this should be configured, and if we should actually have different behaviors, for editable builds for eg.

My initial proposal would be to add a tool.meson-python.args.remove-defaults (alternative name suggestions welcome) setting, which would remove the default arguments. This option would be enabled by default on editable builds, and disabled by default on normal builds.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestquestionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions