From 35a505e592f83ae15f127d14a9376ffac647b514 Mon Sep 17 00:00:00 2001 From: Mark Schofield Date: Wed, 20 Nov 2024 22:48:54 -0800 Subject: [PATCH] Add a 'windows-msvc-host' preset that build doesn't specify a 'CMAKE_SYSTEM_PROCESSOR' --- .github/workflows/ci.yaml | 1 + example/CMakePresets.json | 10 ++++++++++ 2 files changed, 11 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 16f43a0..6da761b 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -38,6 +38,7 @@ jobs: - windows-msvc-spectre-x64 - windows-msvc-x86 - windows-msvc-arm64 + - windows-msvc-host - windows-clang-x64 - windows-clangcl-x64 - windows-vs-x64 diff --git a/example/CMakePresets.json b/example/CMakePresets.json index 171696b..9daf7f1 100644 --- a/example/CMakePresets.json +++ b/example/CMakePresets.json @@ -100,6 +100,12 @@ "CMAKE_SYSTEM_PROCESSOR": "ARM64" } }, + { + "name": "windows-msvc-host", + "inherits": "windows-msvc", + "displayName": "Configure for 'windows-msvc-host'", + "binaryDir": "${sourceDir}/__output/${presetName}" + }, { "name": "windows-clang-x64", "inherits": "windows-clang", @@ -184,6 +190,10 @@ "name": "windows-msvc-arm64", "configurePreset": "windows-msvc-arm64" }, + { + "name": "windows-msvc-host", + "configurePreset": "windows-msvc-host" + }, { "name": "windows-clang-x64", "configurePreset": "windows-clang-x64"