-
-
Notifications
You must be signed in to change notification settings - Fork 532
Expand file tree
/
Copy pathCMakeUserPresets.json
More file actions
122 lines (122 loc) · 2.54 KB
/
CMakeUserPresets.json
File metadata and controls
122 lines (122 loc) · 2.54 KB
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
121
122
{
"version": 2,
"cmakeMinimumRequired": {
"major": 3,
"minor": 14,
"patch": 0
},
"configurePresets": [
{
"name": "dev-common",
"hidden": true,
"inherits": [
"dev-mode",
"clang-tidy",
"cppcheck"
],
"cacheVariables": {
"BUILD_MCSS_DOCS": "ON"
}
},
{
"name": "dev-linux",
"binaryDir": "${sourceDir}/build/dev-linux",
"inherits": [
"dev-common",
"ci-linux"
],
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
}
},
{
"name": "dev-darwin",
"binaryDir": "${sourceDir}/build/dev-darwin",
"inherits": [
"dev-common",
"ci-darwin"
]
},
{
"name": "dev-win64",
"binaryDir": "${sourceDir}/build/dev-win64",
"inherits": [
"dev-common",
"ci-win64"
],
"environment": {
"UseMultiToolTask": "true",
"EnforceProcessCountAcrossBuilds": "true"
}
},
{
"name": "dev",
"binaryDir": "${sourceDir}/build/dev",
"inherits": "dev-darwin"
},
{
"name": "dev-coverage",
"binaryDir": "${sourceDir}/build/coverage",
"inherits": [
"dev-mode",
"coverage-linux"
]
},
{
"name": "dev-sanitize",
"binaryDir": "${sourceDir}/build/sanitize",
"inherits": [
"dev-mode",
"ci-sanitize"
],
"cacheVariables": {
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
}
}
],
"buildPresets": [
{
"name": "dev",
"configurePreset": "dev",
"configuration": "Debug",
"jobs": 10
},
{
"name": "dev-sanitize",
"configurePreset": "dev-sanitize",
"configuration": "Sanitize",
"jobs": 10
}
],
"testPresets": [
{
"name": "dev",
"configurePreset": "dev",
"configuration": "Debug",
"output": {
"outputOnFailure": true
},
"execution": {
"jobs": 10,
"noTestsAction": "error"
}
},
{
"name": "dev-sanitize",
"configurePreset": "dev-sanitize",
"configuration": "Sanitize",
"output": {
"outputOnFailure": true
},
"execution": {
"jobs": 10,
"noTestsAction": "error"
},
"environment": {
"ASAN_OPTIONS": "strict_string_checks=1:detect_stack_use_after_return=1:check_initialization_order=1:strict_init_order=1:detect_leaks=0",
"UBSAN_OPTIONS": "print_stacktrace=1"
}
}
]
}