microsoft / microsoft/vcpkg

[tracy] support for disabled tracy

Open
#36,725 10 comments 2 reactions 1 assignee View on GitHub

@jimwang118 is already working on this.

Since Feb 18, 2024.

category:port-feature
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.