[tracy] support for disabled tracy
@jimwang118 is already working on this.
Since Feb 18, 2024.
- Dominant language
- CMake
- Stars
- 27.5k
- Forks
- 7.7k
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 321
Description
### Is your feature request related to a problem? Please describe.
Tracy has a `TRACY_ENABLE` flag that makes all its functions NO-OPS (empty defines). What it means, that users of the library can use the same source without additional ifdefs for release for end users and internal performance testing.
It would be helpful if vcpkg had a "null" port of tracy for use in final releases.
### Proposed solution
Add a (possibly default) feature that sets `TRACY_ENABLE` to `ON` (otherwise `OFF`)
### Describe alternatives you've considered
_No response_
### Additional context
_No response_
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.