Skip to content

Commit

Permalink
Add a 'windows-msvc-host' preset that build doesn't specify a 'CMAKE_…
Browse files Browse the repository at this point in the history
…SYSTEM_PROCESSOR'
  • Loading branch information
MarkSchofield committed Nov 21, 2024
1 parent 0b310f2 commit 35a505e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 10 additions & 0 deletions example/CMakePresets.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit 35a505e

Please sign in to comment.