trying to enable clang for windows msvc

This commit is contained in:
jadebenn 2024-12-03 20:30:09 -06:00 committed by Jettford
parent 1ae21c423f
commit efc7690fea

View File

@ -75,6 +75,19 @@
"value": "x64" "value": "x64"
} }
}, },
{
"name": "windows-msvc-clang",
"inherits": [
"windows-msvc",
"clang-config"
],
"displayName": "EXPERIMENTAL - [Multi] Windows (MSVC - Clang)",
"description": "Create a build using the Clang toolchain for MSVC",
"binaryDir": "${sourceDir}/build/msvc-clang",
"environment": {
"CMAKE_GENERATOR_TOOLSET": "ClangCL"
}
},
{ {
"name": "linux-config", "name": "linux-config",
"inherits": "default", "inherits": "default",
@ -196,6 +209,30 @@
"description": "This preset is used to build in release mode using the MSVC toolchain on Windows", "description": "This preset is used to build in release mode using the MSVC toolchain on Windows",
"configuration": "Release" "configuration": "Release"
}, },
{
"name": "windows-msvc-clang-debug",
"inherits": "default",
"configurePreset": "windows-msvc-clang",
"displayName": "EXPERIMENTAL - [Debug] Windows (MSVC - Clang)",
"description": "This preset is used to build in debug mode using the Clang toolchain on Windows MSVC",
"configuration": "Debug"
},
{
"name": "windows-msvc-clang-relwithdebinfo",
"inherits": "default",
"configurePreset": "windows-msvc-clang",
"displayName": "EXPERIMENTAL - [RelWithDebInfo] Windows (MSVC - Clang)",
"description": "This preset is used to build in debug mode using the Clang toolchain on Windows MSVC",
"configuration": "RelWithDebInfo"
},
{
"name": "windows-msvc-clang-release",
"inherits": "default",
"configurePreset": "windows-msvc-clang",
"displayName": "EXPERIMENTAL - [Release] Windows (MSVC - Clang)",
"description": "This preset is used to build in release mode using the Clang toolchain on Windows MSVC",
"configuration": "Release"
},
{ {
"name": "linux-clang-debug", "name": "linux-clang-debug",
"inherits": "default", "inherits": "default",