CMakePresets.json
Rama main · réplica de lectura del repositorio original.
{
"version": 5,
"cmakeMinimumRequired": {
"major": 3,
"minor": 23,
"patch": 0
},
"configurePresets": [
{
"name": "default",
"displayName": "Default Config",
"description": "Default build good for basic tasks",
"generator": "Unix Makefiles",
"binaryDir": "${sourceDir}/build",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"BUILD_TESTING": "OFF",
"BUILD_PLATFORMS": "linux/amd64,linux/arm64",
"MONETR_LOCAL_DOMAIN": "monetr.local",
"MONETR_EMAIL_VERIFICATION_ENABLED": "true",
"MONETR_STRIPE_TAXES_ENABLED": "true",
"MONETR_KMS_PROVIDER": "openbao",
"MONETR_STORAGE_PROVIDER": "s3",
"MONETR_DEVELOPMENT_LITE_TARGET": "my.monetr.dev",
"DISABLE_GO_RELOAD": "false"
}
},
{
"name": "release",
"displayName": "Release config",
"description": "Release configuration, will require additional tooling but creates a complete monetr build",
"inherits": "default",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release"
}
},
{
"name": "testing",
"displayName": "Testing config",
"description": "Test configuration for running monetr's unit and integration tests locally",
"inherits": "default",
"cacheVariables": {
"BUILD_TESTING": "ON"
}
}
],
"buildPresets": [
{
"name": "default",
"configurePreset": "default"
},
{
"name": "release",
"configurePreset": "release"
}
],
"testPresets": [
{
"name": "testing",
"configurePreset": "testing",
"output": {
"outputOnFailure": true
},
"execution": {
"noTestsAction": "error",
"stopOnFailure": true
}
}
]
}