58 lines
1.5 KiB
JSON
58 lines
1.5 KiB
JSON
|
|
{
|
||
|
|
"version": 3,
|
||
|
|
"configurePresets": [
|
||
|
|
{
|
||
|
|
"name": "windows-x64-base",
|
||
|
|
"displayName": "Windows x64 Base",
|
||
|
|
"description": "Windows x64 build with Visual Studio 2022.",
|
||
|
|
"hidden": true,
|
||
|
|
"generator": "Visual Studio 17 2022",
|
||
|
|
"architecture": {
|
||
|
|
"value": "x64",
|
||
|
|
"strategy": "set"
|
||
|
|
},
|
||
|
|
"binaryDir": "${sourceDir}/out/build/${presetName}",
|
||
|
|
"installDir": "${sourceDir}/out/install/${presetName}",
|
||
|
|
"condition": {
|
||
|
|
"type": "equals",
|
||
|
|
"lhs": "${hostSystemName}",
|
||
|
|
"rhs": "Windows"
|
||
|
|
}
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"name": "x64-debug",
|
||
|
|
"displayName": "x64 Debug",
|
||
|
|
"description": "Debug build for Windows x64.",
|
||
|
|
"inherits": "windows-x64-base",
|
||
|
|
"cacheVariables": {
|
||
|
|
"CMAKE_CONFIGURATION_TYPES": "Debug",
|
||
|
|
"CMAKE_INSTALL_CONFIG_NAME": "Debug"
|
||
|
|
}
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"name": "x64-release",
|
||
|
|
"displayName": "x64 Release",
|
||
|
|
"description": "Release build for Windows x64.",
|
||
|
|
"inherits": "windows-x64-base",
|
||
|
|
"cacheVariables": {
|
||
|
|
"CMAKE_CONFIGURATION_TYPES": "Release",
|
||
|
|
"CMAKE_INSTALL_CONFIG_NAME": "Release"
|
||
|
|
}
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"buildPresets": [
|
||
|
|
{
|
||
|
|
"name": "x64-debug",
|
||
|
|
"displayName": "x64 Debug",
|
||
|
|
"configurePreset": "x64-debug",
|
||
|
|
"configuration": "Debug"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"name": "x64-release",
|
||
|
|
"displayName": "x64 Release",
|
||
|
|
"configurePreset": "x64-release",
|
||
|
|
"configuration": "Release"
|
||
|
|
}
|
||
|
|
]
|
||
|
|
}
|