forked from lthn/blockchain
Build system extracted to host-uk/build and wired in as a git submodule following the core CLI convention (.core/<tool>/). - CMake modules, cross-compilation profiles now from .core/build/cmake/ - Conan credentials read from environment instead of hardcoded - Removed cmake/ directory (14 files) — all now in submodule - Makefile, CMakeLists.txt, CMakePresets.json updated for new paths Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
109 lines
No EOL
2.1 KiB
JSON
109 lines
No EOL
2.1 KiB
JSON
{
|
|
"version": 8,
|
|
"cmakeMinimumRequired": {
|
|
"major": 3,
|
|
"minor": 23,
|
|
"patch": 0
|
|
},
|
|
"include": [
|
|
"ConanPresets.json"
|
|
],
|
|
"configurePresets": [
|
|
{
|
|
"name": "testnet",
|
|
"binaryDir": "${sourceDir}/build/release",
|
|
"environment": {
|
|
"CONAN_HOME": "${sourceDir}/build/sdk"
|
|
},
|
|
"cacheVariables": {
|
|
"TESTNET": "ON",
|
|
"CMAKE_BUILD_TYPE": "Release",
|
|
"CMAKE_PROJECT_TOP_LEVEL_INCLUDES":".core/build/cmake/ConanProvider.cmake"
|
|
}
|
|
},
|
|
{
|
|
"name": "mainnet",
|
|
"binaryDir": "${sourceDir}/build/release",
|
|
"environment": {
|
|
"CONAN_HOME": "${sourceDir}/build/sdk"
|
|
},
|
|
"cacheVariables": {
|
|
"TESTNET": "OFF",
|
|
"CMAKE_BUILD_TYPE": "Release",
|
|
"CMAKE_PROJECT_TOP_LEVEL_INCLUDES":".core/build/cmake/ConanProvider.cmake"
|
|
}
|
|
}
|
|
],
|
|
"buildPresets": [
|
|
{
|
|
"name": "testnet",
|
|
"configurePreset": "testnet"
|
|
},
|
|
{
|
|
"name": "mainnet",
|
|
"configurePreset": "mainnet"
|
|
}
|
|
],
|
|
"testPresets": [
|
|
{
|
|
"name": "mainnet",
|
|
"configurePreset": "mainnet",
|
|
"output": {"outputOnFailure": true},
|
|
"execution": {"noTestsAction": "error", "stopOnFailure": true}
|
|
}
|
|
],
|
|
"packagePresets": [
|
|
{
|
|
"name": "mainnet",
|
|
"configurePreset": "mainnet",
|
|
"generators": [
|
|
"TGZ",
|
|
"ZIP"
|
|
]
|
|
},
|
|
{
|
|
"name": "testnet",
|
|
"configurePreset": "testnet",
|
|
"generators": [
|
|
"TGZ",
|
|
"ZIP"
|
|
]
|
|
}
|
|
],
|
|
"workflowPresets": [
|
|
{
|
|
"name": "testnet",
|
|
"steps": [
|
|
{
|
|
"type": "configure",
|
|
"name": "testnet"
|
|
},
|
|
{
|
|
"type": "build",
|
|
"name": "testnet"
|
|
},
|
|
{
|
|
"type": "package",
|
|
"name": "testnet"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "mainnet",
|
|
"steps": [
|
|
{
|
|
"type": "configure",
|
|
"name": "mainnet"
|
|
},
|
|
{
|
|
"type": "build",
|
|
"name": "mainnet"
|
|
},
|
|
{
|
|
"type": "package",
|
|
"name": "mainnet"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
} |