86 lines
3.1 KiB
JSON
86 lines
3.1 KiB
JSON
{
|
|
"version": 3,
|
|
"cmakeMinimumRequired": {
|
|
"major": 3,
|
|
"minor": 21,
|
|
"patch": 0
|
|
},
|
|
"configurePresets": [
|
|
{
|
|
"name": "linux-clang-21-debug",
|
|
"displayName": "Linux Clang 21 Debug",
|
|
"description": "Debug build on Linux using Clang 21",
|
|
"generator": "Unix Makefiles",
|
|
"binaryDir": "${sourceDir}/../build/spdlogConfig-linux-clang-21-debug",
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "Debug",
|
|
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON",
|
|
"CMAKE_TOOLCHAIN_FILE": "${sourceDir}/../cmake-toolchain-files/clang_21_x86_64-pc-linux-gnu.cmake"
|
|
}
|
|
},
|
|
{
|
|
"name": "linux-clang-21-release",
|
|
"displayName": "Linux Clang 21 Release",
|
|
"description": "Release build on Linux using Clang 21",
|
|
"generator": "Unix Makefiles",
|
|
"binaryDir": "${sourceDir}/../build/spdlogConfig-linux-clang-21-release",
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "Release",
|
|
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON",
|
|
"CMAKE_TOOLCHAIN_FILE": "${sourceDir}/../cmake-toolchain-files/clang_21_x86_64-pc-linux-gnu.cmake"
|
|
}
|
|
},
|
|
{
|
|
"name": "linux-clang-21-debug-asan",
|
|
"displayName": "Linux Clang 21 Debug (ASan)",
|
|
"description": "Debug build with AddressSanitizer on Linux using Clang 21",
|
|
"generator": "Unix Makefiles",
|
|
"binaryDir": "${sourceDir}/../build/spdlogConfig-linux-clang-21-debug-asan",
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "Debug",
|
|
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON",
|
|
"CMAKE_TOOLCHAIN_FILE": "${sourceDir}/../cmake-toolchain-files/clang_21_x86_64-pc-linux-gnu.cmake",
|
|
"USE_SANITIZER": "Address"
|
|
}
|
|
}
|
|
],
|
|
"buildPresets": [
|
|
{
|
|
"name": "linux-clang-21-debug",
|
|
"displayName": "Build Linux Clang 21 Debug",
|
|
"configurePreset": "linux-clang-21-debug",
|
|
"jobs": 8
|
|
},
|
|
{
|
|
"name": "linux-clang-21-release",
|
|
"displayName": "Build Linux Clang 21 Release",
|
|
"configurePreset": "linux-clang-21-release",
|
|
"jobs": 8
|
|
},
|
|
{
|
|
"name": "linux-clang-21-debug-asan",
|
|
"displayName": "Build Linux Clang 21 Debug (ASan)",
|
|
"configurePreset": "linux-clang-21-debug-asan",
|
|
"jobs": 8
|
|
}
|
|
],
|
|
"testPresets": [
|
|
{
|
|
"name": "linux-clang-21-debug",
|
|
"displayName": "Run Linux Clang 21 Debug tests",
|
|
"configurePreset": "linux-clang-21-debug",
|
|
"output": {
|
|
"outputOnFailure": true
|
|
}
|
|
},
|
|
{
|
|
"name": "linux-clang-21-release",
|
|
"displayName": "Run Linux Clang 21 Release tests",
|
|
"configurePreset": "linux-clang-21-release",
|
|
"output": {
|
|
"outputOnFailure": true
|
|
}
|
|
}
|
|
]
|
|
}
|