-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakePresets.json
112 lines (111 loc) · 2.74 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
{
"version": 6,
"cmakeMinimumRequired": {
"major": 3,
"minor": 23,
"patch": 0
},
"configurePresets": [
{
"name": "project-name-preset",
"hidden": true,
"description": "Sets the project name based on the preset",
"cacheVariables": {
"TRN_PROJECT_NAME": {
"type": "STRING",
"value": "trn ${presetName}"
}
}
},
{
"name": "sibling-build-preset",
"hidden": true,
"description": "Use a sibling directory for the build based on the preset name",
"binaryDir": "${sourceDir}/../build-${presetName}"
},
{
"name": "vcpkg",
"hidden": true,
"description": "Configure the toolchain for vcpkg",
"toolchainFile": "${sourceDir}/vcpkg/scripts/buildsystems/vcpkg.cmake"
},
{
"name": "default",
"displayName": "Configure with default settings",
"inherits": [ "sibling-build-preset", "project-name-preset", "vcpkg" ]
}
],
"buildPresets": [
{
"name": "default",
"displayName": "Build with default settings",
"configurePreset": "default"
}
],
"testPresets": [
{
"name": "settings",
"hidden": true,
"description": "Common test preset settings",
"output": {
"outputOnFailure": true
}
},
{
"name": "default",
"displayName": "Test with default settings",
"inherits": [ "settings" ],
"configurePreset": "default"
},
{
"name": "ci-linux",
"displayName": "Test with default settings but suppress tests on linux CI that have goofy google mocks",
"description": "Suppress some tests that don't currently pass on linux due to weirdness with google mock",
"inherits": [ "settings" ],
"configurePreset": "default",
"filter": {
"exclude": {
"name": "NNTPConnectedTest\\.server_init_(ok|posting_prohibited|(temporarily|permanently)_unavailable)"
}
}
}
],
"workflowPresets": [
{
"name": "default",
"displayName": "Workflow with default settings: configure, build and test",
"steps": [
{
"type": "configure",
"name": "default"
},
{
"type": "build",
"name": "default"
},
{
"type": "test",
"name": "default"
}
]
},
{
"name": "ci-linux",
"displayName": "Workflow with settings for continuous integratoin on linux: configure, build and test",
"steps": [
{
"type": "configure",
"name": "default"
},
{
"type": "build",
"name": "default"
},
{
"type": "test",
"name": "ci-linux"
}
]
}
]
}