-
Notifications
You must be signed in to change notification settings - Fork 19
/
CMakePresets.json
74 lines (74 loc) · 1.91 KB
/
CMakePresets.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
{
"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": {
"BUILD_THIRD_PARTY_NOTICE": "OFF",
"BUILD_DEPLOYMENT_TARGETS": "OFF",
"CMAKE_BUILD_TYPE": "Debug",
"BUILD_TESTING": "OFF",
"MONETR_LOCAL_DOMAIN": "monetr.local",
"MONETR_EMAIL_VERIFICATION_ENABLED": "true",
"MONETR_STRIPE_TAXES_ENABLED": "true",
"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": {
"BUILD_THIRD_PARTY_NOTICE": "ON",
"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"
}
},
{
"name": "deploy",
"displayName": "Deploy config",
"description": "Deployment config for generating the Kubernetes yaml and applying it to the cluster.",
"inherits": "default",
"cacheVariables": {
"BUILD_DEPLOYMENT_TARGETS": "ON"
}
}
],
"buildPresets": [
{
"name": "default",
"configurePreset": "default"
}
],
"testPresets": [
{
"name": "testing",
"configurePreset": "testing",
"output": {
"outputOnFailure": true
},
"execution": {
"noTestsAction": "error",
"stopOnFailure": true
}
}
]
}