From a2f56c4dd6ec8c556455b86a76fe1094be4d6c9a Mon Sep 17 00:00:00 2001 From: Francisco Facioni Date: Fri, 3 Feb 2023 23:08:58 +0100 Subject: [PATCH] [tracy] add on-demand option for the client lib (#29429) --- ports/tracy/portfile.cmake | 5 +++++ ports/tracy/vcpkg.json | 5 ++++- versions/baseline.json | 2 +- versions/t-/tracy.json | 5 +++++ 4 files changed, 15 insertions(+), 2 deletions(-) diff --git a/ports/tracy/portfile.cmake b/ports/tracy/portfile.cmake index 627a624f12..b235e777b6 100644 --- a/ports/tracy/portfile.cmake +++ b/ports/tracy/portfile.cmake @@ -16,8 +16,13 @@ vcpkg_from_github( 003-fix-imgui-path.patch ) +vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS + FEATURES + on-demand TRACY_ON_DEMAND) + vcpkg_cmake_configure( SOURCE_PATH ${SOURCE_PATH} + OPTIONS ${FEATURE_OPTIONS} ) vcpkg_cmake_install() diff --git a/ports/tracy/vcpkg.json b/ports/tracy/vcpkg.json index d4bd2e4b5a..a19431ddbc 100644 --- a/ports/tracy/vcpkg.json +++ b/ports/tracy/vcpkg.json @@ -1,7 +1,7 @@ { "name": "tracy", "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.", "homepage": "https://github.com/wolfpld/tracy", "license": "BSD-3-Clause", @@ -50,6 +50,9 @@ "freetype", "glfw3" ] + }, + "on-demand": { + "description": "Enable on-demand profiling" } } } diff --git a/versions/baseline.json b/versions/baseline.json index 2d6801fe5d..a50ac6fc4b 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -7770,7 +7770,7 @@ }, "tracy": { "baseline": "0.9.0", - "port-version": 1 + "port-version": 2 }, "transwarp": { "baseline": "2.2.2", diff --git a/versions/t-/tracy.json b/versions/t-/tracy.json index 065e887f1b..f3325e16bc 100644 --- a/versions/t-/tracy.json +++ b/versions/t-/tracy.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "0a59d32d18bdd3f15658de8b36d8003d398f19ed", + "version-semver": "0.9.0", + "port-version": 2 + }, { "git-tree": "ed78af871d0cb41933e62e1daf455ca02453139d", "version-semver": "0.9.0",