update presets

This commit is contained in:
jadebenn 2024-12-03 21:14:24 -06:00 committed by Jettford
parent 203b00926d
commit dffd49da9d
2 changed files with 144 additions and 122 deletions

View File

@ -72,7 +72,7 @@ if(UNIX)
# For all except Clang and Apple Clang # For all except Clang and Apple Clang
if(NOT CMAKE_CXX_COMPILER_ID MATCHES "Clang") if(NOT CMAKE_CXX_COMPILER_ID MATCHES "Clang")
add_compile_options("-static-libgcc" "-lstdc++fs") add_compile_options("-static-libgcc" "-lstdc++fs" "-Wno-error=implicit-function-declaration" "-Wno-error=int-conversion")
endif() endif()
if(${DYNAMIC} AND CMAKE_CXX_COMPILER_ID STREQUAL "GNU") if(${DYNAMIC} AND CMAKE_CXX_COMPILER_ID STREQUAL "GNU")

View File

@ -84,9 +84,7 @@
"displayName": "EXPERIMENTAL - [Multi] Windows (MSVC - Clang)", "displayName": "EXPERIMENTAL - [Multi] Windows (MSVC - Clang)",
"description": "Create a build using the Clang toolchain for MSVC", "description": "Create a build using the Clang toolchain for MSVC",
"binaryDir": "${sourceDir}/build/msvc-clang", "binaryDir": "${sourceDir}/build/msvc-clang",
"cacheVariables": { "toolset": "ClangCL"
"CMAKE_GENERATOR_TOOLSET": "ClangCL"
}
}, },
{ {
"name": "linux-config", "name": "linux-config",
@ -352,6 +350,30 @@
"description": "Runs all tests on a Windows configuration", "description": "Runs all tests on a Windows configuration",
"configuration": "Release" "configuration": "Release"
}, },
{
"name": "windows-msvc-clang-debug",
"inherits": "windows-msvc-test",
"configurePreset": "windows-msvc-clang",
"displayName": "EXPERIMENTAL - [Debug] Windows (MSVC - Clang)",
"description": "Runs all tests on a Windows Clang configuration",
"configuration": "Debug"
},
{
"name": "windows-msvc-clang-relwithdebinfo",
"inherits": "windows-msvc-test",
"configurePreset": "windows-msvc-clang",
"displayName": "EXPERIMENTAL - [RelWithDebInfo] Windows (MSVC - Clang)",
"description": "Runs all tests on a Windows Clang configuration",
"configuration": "RelWithDebInfo"
},
{
"name": "windows-msvc-clang-release",
"inherits": "windows-msvc-test",
"configurePreset": "windows-msvc-clang",
"displayName": "EXPERIMENTAL - [Release] Windows (MSVC - Clang)",
"description": "Runs all tests on a Windows Clang configuration",
"configuration": "Release"
},
{ {
"name": "linux-clang-debug", "name": "linux-clang-debug",
"inherits": "default", "inherits": "default",