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

Add tracy.cmake #712

Merged
merged 8 commits into from
Sep 11, 2024
Merged

Add tracy.cmake #712

merged 8 commits into from
Sep 11, 2024

Conversation

jorisv
Copy link
Contributor

@jorisv jorisv commented Sep 11, 2024

tracy.cmake generate tracy.hpp in our build directory and add PROJECT_NAME_TRACY_ENABLE cmake option.

tracy.hpp create macro that will call tracy macro/function.
When PROJECT_NAME_TRACY_ENABLE is false, tracy.hpp macro will do nothing.
This will allow to easily set/remove the tracy dependency.

@jorisv jorisv self-assigned this Sep 11, 2024
tracy.cmake Outdated Show resolved Hide resolved
tracy.hpp.in Outdated Show resolved Hide resolved
tracy.hpp.in Outdated Show resolved Hide resolved
@jorisv jorisv marked this pull request as ready for review September 11, 2024 14:28
@jorisv
Copy link
Contributor Author

jorisv commented Sep 11, 2024

@nim65s If it's fine to you we can merge this PR.

This aligator PR test this new feature.

@nim65s
Copy link
Collaborator

nim65s commented Sep 11, 2024

Sure, this can't break anything :)

@ManifoldFR
Copy link
Contributor

Joris just left, can you hit the merge button ? I don't have write access 😅

@jcarpent jcarpent merged commit d62ded7 into jrl-umi3218:master Sep 11, 2024
2 checks passed
@jorisv jorisv deleted the topic/tracy-wrapper branch September 12, 2024 07:40
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.

4 participants