Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
rsmyth-ecmi opened this issue Mar 5, 2025 · 1 comment
Open

Comments

@rsmyth-ecmi
Copy link

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.

@rsmyth-ecmi
Copy link
Author

#769 Adds a couple. More can be added.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant