55 lines
1.3 KiB
JSON
55 lines
1.3 KiB
JSON
|
|
{
|
||
|
|
"version": 3,
|
||
|
|
"cmakeMinimumRequired": {
|
||
|
|
"major": 3,
|
||
|
|
"minor": 21,
|
||
|
|
"patch": 0
|
||
|
|
},
|
||
|
|
"configurePresets": [
|
||
|
|
{
|
||
|
|
"name": "default",
|
||
|
|
"generator": "Ninja",
|
||
|
|
"binaryDir": "build",
|
||
|
|
"cacheVariables": {
|
||
|
|
"CMAKE_C_COMPILER": "clang",
|
||
|
|
"CMAKE_CXX_COMPILER": "clang++",
|
||
|
|
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON",
|
||
|
|
"FETCHCONTENT_FULLY_DISCONNECTED": "OFF"
|
||
|
|
}
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"name": "clang-release",
|
||
|
|
"inherits": "default",
|
||
|
|
"generator": "Ninja",
|
||
|
|
"cacheVariables": {
|
||
|
|
"CMAKE_BUILD_TYPE": "Release"
|
||
|
|
}
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"name": "clang-debug",
|
||
|
|
"inherits": "default",
|
||
|
|
"generator": "Ninja",
|
||
|
|
"cacheVariables": {
|
||
|
|
"CMAKE_BUILD_TYPE": "Debug"
|
||
|
|
}
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"buildPresets": [
|
||
|
|
{
|
||
|
|
"name": "default",
|
||
|
|
"configurePreset": "default",
|
||
|
|
"jobs": 10
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"name": "clang-release",
|
||
|
|
"inherits": "default",
|
||
|
|
"configuration": "Release"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"name": "clang-debug",
|
||
|
|
"inherits": "default",
|
||
|
|
"configuration": "Debug"
|
||
|
|
}
|
||
|
|
]
|
||
|
|
}
|