Skip to content

Commit

Permalink
cmake: Add CI-specific presets
Browse files Browse the repository at this point in the history
  • Loading branch information
hebasto committed May 4, 2024
1 parent 6212d6d commit 5a262ef
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions CMakePresets.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,48 @@
"version": 3,
"cmakeMinimumRequired": {"major": 3, "minor": 21, "patch": 0},
"configurePresets": [
{
"name": "ci-common",
"hidden": true,
"cacheVariables": {
"ENABLE_WALLET": "ON",
"WITH_SQLITE": "ON",
"WITH_BDB": "ON",
"WITH_NATPMP": "ON",
"WITH_MINIUPNPC": "ON",
"WITH_ZMQ": "ON",
"WERROR": "ON",
"CCACHE": "ON"
}
},
{
"name": "ci-linux",
"inherits": "ci-common",
"displayName": "Build for CI tests on Linux",
"condition": {
"type": "equals",
"lhs": "${hostSystemName}",
"rhs": "Linux"
},
"cacheVariables": {
"WITH_EXTERNAL_SIGNER": "ON",
"WITH_USDT": "ON"
}
},
{
"name": "ci-darwin",
"inherits": "ci-common",
"displayName": "Build for CI tests on macOS",
"condition": {
"type": "equals",
"lhs": "${hostSystemName}",
"rhs": "Darwin"
},
"cacheVariables": {
"WITH_GUI": "Qt5",
"WITH_EXTERNAL_SIGNER": "ON"
}
},
{
"name": "vs2022",
"displayName": "Build using 'Visual Studio 17 2022' generator and 'x64-windows' triplet",
Expand Down

0 comments on commit 5a262ef

Please sign in to comment.