-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathCMakePresets.json
120 lines (120 loc) · 2.76 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
113
114
115
116
117
118
119
120
{
"version": 3,
"cmakeMinimumRequired": {
"major": 3,
"minor": 22,
"patch": 0
},
"configurePresets": [
{
"name": "ninja-generator",
"hidden": true,
"generator": "Ninja"
},
{
"name": "release-build",
"hidden": true,
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release"
}
},
{
"name": "debug-build",
"hidden": true,
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug"
}
},
{
"name": "clang-toolchain",
"hidden": true,
"toolchainFile": "${sourceDir}/clang.toolchain"
},
{
"name": "release",
"inherits": [
"ninja-generator",
"release-build",
"clang-toolchain"
],
"displayName": "Default Release Config",
"description": "Default release build configuration using Ninja generator and Clang compiler",
"binaryDir": "${sourceDir}/../build"
},
{
"name": "release-test",
"inherits": "release",
"displayName": "Default Release Test Config",
"description": "Default release build configuration with all tests and examples",
"cacheVariables": {
"YDB_SDK_TESTS": "TRUE",
"YDB_SDK_EXAMPLES": "TRUE"
}
},
{
"name": "release-test-with-ccache-basedir",
"inherits": "release-test",
"displayName": "Release Test Config CCACHE_BASEDIR Case",
"description": "Only for the case when using CCACHE_BASEDIR",
"cacheVariables": {
"ARCADIA_ROOT": "../ydb-cpp-sdk",
"ARCADIA_BUILD_ROOT": "."
}
}
],
"buildPresets": [
{
"name": "release",
"configurePreset": "release",
"displayName": "Default Release Build"
}
],
"testPresets": [
{
"name": "common",
"hidden": true,
"output": {
"outputOnFailure": true
},
"execution": {
"timeout": 1200
}
},
{
"name": "release",
"inherits": "common",
"configurePreset": "release-test",
"displayName": "Default Release Tests",
"environment": {
"YDB_ENDPOINT": "localhost:2136",
"YDB_DATABASE": "/local"
}
},
{
"name": "release-unit",
"inherits": "common",
"configurePreset": "release-test",
"displayName": "Default Unit Release Tests",
"filter" : {
"include": {
"label": "unit"
}
}
},
{
"name": "release-integration",
"inherits": "common",
"configurePreset": "release-test",
"displayName": "Default Integration Release Tests",
"filter" : {
"include": {
"label": "integration"
}
},
"environment": {
"YDB_ENDPOINT": "localhost:2136",
"YDB_DATABASE": "/local"
}
}
]
}