From 0b0be64d2b5b6ab5b694cffe741b8bc005496eea Mon Sep 17 00:00:00 2001 From: scawful Date: Thu, 9 Oct 2025 10:24:13 -0400 Subject: [PATCH] feat: Add vcpkg configuration and update dependencies in vcpkg.json - Introduced a new vcpkg-configuration.json file to define the default registry and baseline for vcpkg. - Updated vcpkg.json to include a schema reference, a new builtin-baseline, and refined dependency specifications for SDL2, abseil, yaml-cpp, and zlib, ensuring compatibility with Windows platform. --- vcpkg-configuration.json | 10 ++++++++++ vcpkg.json | 27 +++++++++++++++++++++++---- 2 files changed, 33 insertions(+), 4 deletions(-) create mode 100644 vcpkg-configuration.json diff --git a/vcpkg-configuration.json b/vcpkg-configuration.json new file mode 100644 index 00000000..a3357aff --- /dev/null +++ b/vcpkg-configuration.json @@ -0,0 +1,10 @@ +{ + "$schema": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/main/docs/vcpkg-configuration.schema.json", + "default-registry": { + "kind": "git", + "repository": "https://github.com/microsoft/vcpkg", + "baseline": "a42af01b72c28a8e1d7b48107b33e4f286a55ef6" + }, + "registries": [] +} + diff --git a/vcpkg.json b/vcpkg.json index 9a56e941..a793a92b 100644 --- a/vcpkg.json +++ b/vcpkg.json @@ -1,14 +1,33 @@ { + "$schema": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/main/docs/vcpkg.schema.json", "name": "yaze", "version": "0.3.2", "description": "Yet Another Zelda3 Editor", + "builtin-baseline": "a42af01b72c28a8e1d7b48107b33e4f286a55ef6", "dependencies": [ { "name": "sdl2", - "platform": "!uwp", - "features": ["vulkan"] + "platform": "windows", + "default-features": false, + "features": [] }, - "yaml-cpp", - "zlib" + { + "name": "abseil", + "platform": "windows" + }, + { + "name": "yaml-cpp", + "platform": "windows" + }, + { + "name": "zlib", + "platform": "windows" + } + ], + "overrides": [ + { + "name": "sdl2", + "version": "2.30.9" + } ] }