From 5c37e39358b3a1f9e37f89137701cea603ffa5c8 Mon Sep 17 00:00:00 2001 From: Orange Date: Mon, 27 Oct 2025 09:57:12 +0300 Subject: [PATCH] Adds Darwin build presets with Vcpkg support Adds new CMake presets for Darwin platforms, including debug and release configurations with optional Vcpkg integration. This allows for easier builds on Darwin systems utilizing pre-built libraries from Vcpkg. --- CMakePresets.json | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/CMakePresets.json b/CMakePresets.json index 654bfe1..3aced04 100644 --- a/CMakePresets.json +++ b/CMakePresets.json @@ -129,6 +129,15 @@ "CMAKE_BUILD_TYPE": "Debug" } }, + { + "name": "darwin-debug-vcpkg", + "displayName": "Darwin Debug", + "inherits": "darwin-base", + "cacheVariables": { + "CMAKE_BUILD_TYPE": "Debug", + "OMATH_BUILD_VIA_VCPKG": "ON" + } + }, { "name": "darwin-release", "displayName": "Darwin Release", @@ -136,6 +145,15 @@ "cacheVariables": { "CMAKE_BUILD_TYPE": "Release" } + }, + { + "name": "darwin-release-vcpkg", + "displayName": "Darwin Release", + "inherits": "darwin-debug", + "cacheVariables": { + "CMAKE_BUILD_TYPE": "Release", + "OMATH_BUILD_VIA_VCPKG": "ON" + } } ] } \ No newline at end of file