Skip to content

Preprocessor symbls are generally unable to be set (with Meson) #768

Open
@rsmyth-ecmi

Description

@rsmyth-ecmi

When building Unity with Meson, one is unable to set symbols for configuration. The main one is UNITY_FIXTURE_NO_EXTRAS. But there is a whole laundry list in https://github.com/ThrowTheSwitch/Unity/blob/cdf1d0297effc2736ee847e557b4275b4f02310b/docs/UnityConfigurationGuide.md that could be included as well, as I would expect most are global to the target platform.

The alternative is setting CPP symbols before importing the header but that's not the best way of config imo.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions