106 lines
3.1 KiB
JSON
106 lines
3.1 KiB
JSON
|
{
|
||
|
"version": 2,
|
||
|
"cmakeMinimumRequired": {
|
||
|
"major": 3,
|
||
|
"minor": 20,
|
||
|
"patch": 0
|
||
|
},
|
||
|
"configurePresets": [
|
||
|
{
|
||
|
"name": "linux-clang",
|
||
|
"displayName": "Linux clang",
|
||
|
"hidden": true,
|
||
|
"binaryDir": "${sourceDir}/build/${presetName}",
|
||
|
"cacheVariables": {
|
||
|
"CMAKE_C_COMPILER": "clang",
|
||
|
"CMAKE_CXX_COMPILER": "clang++",
|
||
|
"CMAKE_CXX_FLAGS": "-stdlib=libstdc++",
|
||
|
"CMAKE_EXE_LINKER_FLAGS": "-stdlib=libstdc++",
|
||
|
"CMAKE_SHARED_LINKER_FLAGS": "-stdlib=libstdc++"
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"name": "linux-clang-debug",
|
||
|
"displayName": "Linux clang debug",
|
||
|
"inherits": "linux-clang",
|
||
|
"cacheVariables": {
|
||
|
"CMAKE_BUILD_TYPE": "Debug"
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"name": "linux-clang-release",
|
||
|
"displayName": "Linux clang release",
|
||
|
"inherits": "linux-clang",
|
||
|
"cacheVariables": {
|
||
|
"CMAKE_BUILD_TYPE": "Release"
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"name": "linux-gcc",
|
||
|
"displayName": "Linux gcc",
|
||
|
"hidden": true,
|
||
|
"binaryDir": "${sourceDir}/build/${presetName}",
|
||
|
"cacheVariables": {
|
||
|
"CMAKE_C_COMPILER": "gcc",
|
||
|
"CMAKE_CXX_COMPILER": "g++"
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"name": "linux-gcc-debug",
|
||
|
"displayName": "Linux gcc debug",
|
||
|
"inherits": "linux-gcc",
|
||
|
"cacheVariables": {
|
||
|
"CMAKE_BUILD_TYPE": "Debug"
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"name": "linux-gcc-release",
|
||
|
"displayName": "Linux gcc release",
|
||
|
"inherits": "linux-gcc",
|
||
|
"cacheVariables": {
|
||
|
"CMAKE_BUILD_TYPE": "Release"
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"name": "windows-default",
|
||
|
"displayName": "Windows x64 Debug",
|
||
|
"generator": "Ninja",
|
||
|
"binaryDir": "${sourceDir}/build/${presetName}",
|
||
|
"architecture": {
|
||
|
"value": "x64",
|
||
|
"strategy": "external"
|
||
|
},
|
||
|
"toolset": {
|
||
|
"value": "host=x64",
|
||
|
"strategy": "external"
|
||
|
},
|
||
|
"cacheVariables": {
|
||
|
"CMAKE_BUILD_TYPE": "Debug",
|
||
|
"CMAKE_C_COMPILER": "cl",
|
||
|
"CMAKE_CXX_COMPILER": "cl"
|
||
|
},
|
||
|
"vendor": {
|
||
|
"microsoft.com/VisualStudioSettings/CMake/1.0": {
|
||
|
"hostOS": [
|
||
|
"Windows"
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"name": "windows-default-release",
|
||
|
"displayName": "Windows x64 Release",
|
||
|
"inherits": "windows-default",
|
||
|
"cacheVariables": {
|
||
|
"CMAKE_BUILD_TYPE": "Release"
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"buildPresets": [
|
||
|
{
|
||
|
"name": "default",
|
||
|
"configurePreset": "default"
|
||
|
}
|
||
|
]
|
||
|
}
|