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

Update meson_options.txt to allow overriding of tracy_enable #654

Merged
merged 1 commit into from
Nov 2, 2023
Merged

Update meson_options.txt to allow overriding of tracy_enable #654

merged 1 commit into from
Nov 2, 2023

Conversation

tmayoff
Copy link
Contributor

@tmayoff tmayoff commented Nov 2, 2023

This allows superprojects to override the tracy_enable option. This solves a problem where toggling tracy_enable only does so in the subproject itself, adding TRACY_ENABLE definition to just the client library. Including the header in the superproject we can't use the macros as TRACY_ENABLE isn't defined.

This change allows superprojects to create a tracy_enable option that can control the subprojects option (of the same name), that way we can enable/disable profiling for everything at once, and the superproject can add the TRACY_ENABLE define itself

This allows superprojects to override the tracy_enable option
@wolfpld wolfpld merged commit 95be71e into wolfpld:master Nov 2, 2023
5 checks passed
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

Successfully merging this pull request may close these issues.

2 participants