From d0e8006804b74c9a0e7488c72599d36239b197ec Mon Sep 17 00:00:00 2001 From: Squall-Leonhart Date: Sun, 1 Jun 2025 04:11:23 +1000 Subject: [PATCH 1/2] Make DXCapsViewer VCPKG profiles build out of the box VCPKG in manifest mode requires a Baseline SHA, and also to be located at the root directory, having it inside the build directory meant that visual studio never finished cache generation as it never automatically installed the vcpkg dependencies. --- build/vcpkg.json => vcpkg.json | 1 + 1 file changed, 1 insertion(+) rename build/vcpkg.json => vcpkg.json (72%) diff --git a/build/vcpkg.json b/vcpkg.json similarity index 72% rename from build/vcpkg.json rename to vcpkg.json index d85e766..6446977 100644 --- a/build/vcpkg.json +++ b/vcpkg.json @@ -1,5 +1,6 @@ { "$schema": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/main/docs/vcpkg.schema.json", + "builtin-baseline": "a9eee3b18df395dbb8be71a31bd78ea441056e42", "dependencies": [ "directx-headers", "directx12-agility" From a4a304c8a9a43170a0da05dfff145b12178f3264 Mon Sep 17 00:00:00 2001 From: Squall-Leonhart Date: Sun, 1 Jun 2025 04:18:49 +1000 Subject: [PATCH 2/2] Update the vcpkg workflow too. --- .github/workflows/vcpkg.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/vcpkg.yml b/.github/workflows/vcpkg.yml index 10464bc..b479584 100644 --- a/.github/workflows/vcpkg.yml +++ b/.github/workflows/vcpkg.yml @@ -98,7 +98,7 @@ jobs: - uses: lukka/run-vcpkg@7d259227a1fb6471a0253dd5ab7419835228f7d7 # v11 with: runVcpkgInstall: true - vcpkgJsonGlob: '**/build/vcpkg.json' + vcpkgJsonGlob: '**/vcpkg.json' vcpkgGitCommitId: '${{ env.VCPKG_COMMIT_ID }}' - name: 'Configure CMake'