2025-10-08 21:55:39 +01:00
|
|
|
{
|
2025-10-08 23:04:54 +01:00
|
|
|
"version": 8,
|
2025-10-08 21:55:39 +01:00
|
|
|
"cmakeMinimumRequired": {
|
|
|
|
|
"major": 3,
|
|
|
|
|
"minor": 23,
|
|
|
|
|
"patch": 0
|
|
|
|
|
},
|
|
|
|
|
"include": [
|
|
|
|
|
"ConanPresets.json"
|
|
|
|
|
|
|
|
|
|
],
|
|
|
|
|
"configurePresets": [
|
|
|
|
|
{
|
|
|
|
|
"name": "default",
|
|
|
|
|
"displayName": "Default Config",
|
|
|
|
|
"description": "Default build using Ninja generator",
|
|
|
|
|
"generator": "Ninja",
|
|
|
|
|
"binaryDir": "${sourceDir}/build/default",
|
|
|
|
|
"cacheVariables": {
|
|
|
|
|
"TESTNET": "ON"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
2025-10-08 23:04:54 +01:00
|
|
|
"name": "windows-defaultss",
|
2025-10-08 21:55:39 +01:00
|
|
|
"displayName": "Windows x64 Debug",
|
|
|
|
|
"description": "Sets Ninja generator, compilers, x64 architecture, build and install directory, debug build type",
|
|
|
|
|
"generator": "Ninja",
|
|
|
|
|
"binaryDir": "${sourceDir}/build/${presetName}",
|
|
|
|
|
"architecture": {
|
|
|
|
|
"value": "x64",
|
|
|
|
|
"strategy": "external"
|
|
|
|
|
},
|
|
|
|
|
"cacheVariables": {
|
|
|
|
|
"TESTNET": "ON",
|
|
|
|
|
"CMAKE_BUILD_TYPE": "Debug",
|
|
|
|
|
"CMAKE_INSTALL_PREFIX": "${sourceDir}/build/install/${presetName}"
|
|
|
|
|
},
|
|
|
|
|
"vendor": {
|
|
|
|
|
"microsoft.com/VisualStudioSettings/CMake/1.0": {
|
|
|
|
|
"hostOS": [ "Windows" ]
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"condition": {
|
|
|
|
|
"type": "equals",
|
|
|
|
|
"lhs": "${hostSystemName}",
|
|
|
|
|
"rhs": "Windows"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"buildPresets": [
|
|
|
|
|
{
|
|
|
|
|
"name": "default",
|
|
|
|
|
"configurePreset": "default"
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"testPresets": [
|
|
|
|
|
{
|
|
|
|
|
"name": "default",
|
|
|
|
|
"configurePreset": "default",
|
|
|
|
|
"output": {"outputOnFailure": true},
|
|
|
|
|
"execution": {"noTestsAction": "error", "stopOnFailure": true}
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"packagePresets": [
|
|
|
|
|
{
|
|
|
|
|
"name": "default",
|
|
|
|
|
"configurePreset": "default",
|
|
|
|
|
"generators": [
|
|
|
|
|
"TGZ",
|
|
|
|
|
"ZIP"
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"workflowPresets": [
|
|
|
|
|
{
|
|
|
|
|
"name": "default",
|
|
|
|
|
"steps": [
|
|
|
|
|
{
|
|
|
|
|
"type": "configure",
|
|
|
|
|
"name": "default"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"type": "build",
|
|
|
|
|
"name": "default"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"type": "test",
|
|
|
|
|
"name": "default"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"type": "package",
|
|
|
|
|
"name": "default"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|