You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
85 lines
2.3 KiB
85 lines
2.3 KiB
|
4 years ago
|
{
|
||
|
|
"version": 3,
|
||
|
|
"cmakeMinimumRequired": {
|
||
|
|
"major": 3,
|
||
|
|
"minor": 19,
|
||
|
|
"patch": 0
|
||
|
|
},
|
||
|
|
"configurePresets": [
|
||
|
|
{
|
||
|
|
"name": "ninja-vcpkg",
|
||
|
|
"displayName": "Ninja with VcPkg Configure Settings",
|
||
|
|
"description": "Configure with vcpkg toolchain",
|
||
|
|
"binaryDir": "${sourceDir}/build-${presetName}",
|
||
|
|
"generator": "Ninja",
|
||
|
|
"cacheVariables": {
|
||
|
|
"CMAKE_TOOLCHAIN_FILE": {
|
||
|
|
"type": "FILEPATH",
|
||
|
|
"value": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake"
|
||
|
|
}
|
||
|
|
}
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"name": "ninja-vcpkg-debug",
|
||
|
|
"displayName": "Ninja with VcPkg Configure Settings with CMAKE_BUILD_TYPE=RelWithDebInfo",
|
||
|
|
"inherits": "ninja-vcpkg",
|
||
|
|
"cacheVariables": {
|
||
|
|
"CMAKE_BUILD_TYPE": "Debug"
|
||
|
|
}
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"name": "ninja-vcpkg-relwithdebinfo",
|
||
|
|
"displayName": "Ninja with VcPkg Configure Settings with CMAKE_BUILD_TYPE=RelWithDebInfo",
|
||
|
|
"inherits": "ninja-vcpkg",
|
||
|
|
"cacheVariables": {
|
||
|
|
"CMAKE_BUILD_TYPE": "RelWithDebInfo"
|
||
|
|
}
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"name": "ninja-vcpkg-discord-relwithdebinfo",
|
||
|
|
"displayName": "Ninja with VcPkg Configure Settings with DISCORD_INTEGRATION=ON CMAKE_BUILD_TYPE=RelWithDebInfo",
|
||
|
|
"inherits": "ninja-vcpkg-relwithdebinfo",
|
||
|
|
"cacheVariables": {
|
||
|
|
"DISCORD_INTEGRATION": {
|
||
|
|
"type": "BOOL",
|
||
|
|
"value": "ON"
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"buildPresets": [
|
||
|
|
{
|
||
|
|
"name": "ninja-vcpkg-debug",
|
||
|
|
"configurePreset": "ninja-vcpkg-debug",
|
||
|
|
"displayName": "Build ninja-vcpkg-debug",
|
||
|
|
"description": "Build ninja-vcpkg-debug Configuration"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"name": "ninja-vcpkg-relwithdebinfo",
|
||
|
|
"configurePreset": "ninja-vcpkg-relwithdebinfo",
|
||
|
|
"displayName": "Build ninja-vcpkg-relwithdebinfo",
|
||
|
|
"description": "Build ninja-vcpkg-relwithdebinfo Configuration"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"name": "ninja-vcpkg-discord-relwithdebinfo",
|
||
|
|
"configurePreset": "ninja-vcpkg-discord-relwithdebinfo",
|
||
|
|
"displayName": "Build ninja-vcpkg-discord-relwithdebinfo",
|
||
|
|
"description": "Build ninja-vcpkg-discord-relwithdebinfo Configuration"
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"testPresets": [
|
||
|
|
{
|
||
|
|
"name": "ninja-vcpkg-debug",
|
||
|
|
"configurePreset": "ninja-vcpkg-debug"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"name": "ninja-vcpkg-relwithdebinfo",
|
||
|
|
"configurePreset": "ninja-vcpkg-relwithdebinfo"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"name": "ninja-vcpkg-discord-relwithdebinfo",
|
||
|
|
"configurePreset": "ninja-vcpkg-discord-relwithdebinfo"
|
||
|
|
}
|
||
|
|
]
|
||
|
|
}
|