[tracy] add on-demand option for the client lib (#29429)

This commit is contained in:
Francisco Facioni 2023-02-03 23:08:58 +01:00 committed by GitHub
parent ffd75fe389
commit a2f56c4dd6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 15 additions and 2 deletions

View File

@ -16,8 +16,13 @@ vcpkg_from_github(
003-fix-imgui-path.patch 003-fix-imgui-path.patch
) )
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
FEATURES
on-demand TRACY_ON_DEMAND)
vcpkg_cmake_configure( vcpkg_cmake_configure(
SOURCE_PATH ${SOURCE_PATH} SOURCE_PATH ${SOURCE_PATH}
OPTIONS ${FEATURE_OPTIONS}
) )
vcpkg_cmake_install() vcpkg_cmake_install()

View File

@ -1,7 +1,7 @@
{ {
"name": "tracy", "name": "tracy",
"version-semver": "0.9.0", "version-semver": "0.9.0",
"port-version": 1, "port-version": 2,
"description": "A real time, nanosecond resolution, remote telemetry, hybrid frame and sampling profiler for games and other applications.", "description": "A real time, nanosecond resolution, remote telemetry, hybrid frame and sampling profiler for games and other applications.",
"homepage": "https://github.com/wolfpld/tracy", "homepage": "https://github.com/wolfpld/tracy",
"license": "BSD-3-Clause", "license": "BSD-3-Clause",
@ -50,6 +50,9 @@
"freetype", "freetype",
"glfw3" "glfw3"
] ]
},
"on-demand": {
"description": "Enable on-demand profiling"
} }
} }
} }

View File

@ -7770,7 +7770,7 @@
}, },
"tracy": { "tracy": {
"baseline": "0.9.0", "baseline": "0.9.0",
"port-version": 1 "port-version": 2
}, },
"transwarp": { "transwarp": {
"baseline": "2.2.2", "baseline": "2.2.2",

View File

@ -1,5 +1,10 @@
{ {
"versions": [ "versions": [
{
"git-tree": "0a59d32d18bdd3f15658de8b36d8003d398f19ed",
"version-semver": "0.9.0",
"port-version": 2
},
{ {
"git-tree": "ed78af871d0cb41933e62e1daf455ca02453139d", "git-tree": "ed78af871d0cb41933e62e1daf455ca02453139d",
"version-semver": "0.9.0", "version-semver": "0.9.0",