-
Notifications
You must be signed in to change notification settings - Fork 16
/
CMakePresets.json
64 lines (64 loc) · 1.55 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
{
"version": 6,
"cmakeMinimumRequired": {
"major": 3,
"minor": 27,
"patch": 0
},
"configurePresets": [
{
"name": "std",
"description": "This preset makes sure the project actually builds with at least the specified standard",
"hidden": true,
"cacheVariables": {
"CMAKE_C_EXTENSIONS": "OFF",
"CMAKE_C_STANDARD": "17",
"CMAKE_C_STANDARD_REQUIRED": "ON",
"CMAKE_CXX_EXTENSIONS": "OFF",
"CMAKE_CXX_STANDARD": "20",
"CMAKE_CXX_STANDARD_REQUIRED": "ON"
}
},
{
"name": "configurePresets_base",
"hidden": true,
"inherits": [
"std"
],
"condition": true,
"displayName": "configurePresets_base",
"description": "base configurePresets",
"generator": "Unix Makefiles",
"toolchainFile": "${sourceDir}/cmake/gcc.cmake",
"binaryDir": "${sourceDir}/build",
"installDir": "",
"cacheVariables": {
"CMAKE_VERBOSE_MAKEFILE": {
"type": "BOOL",
"value": "TRUE"
},
"CMAKE_EXPORT_COMPILE_COMMANDS": {
"type": "BOOL",
"value": "ON"
},
"CMAKE_BUILD_TYPE": {
"type": "STRING",
"value": "Debug"
},
"COVERAGE_OUTPUT_DIR": {
"type": "STRING",
"value": "coverage"
}
}
},
{
"name": "build",
"hidden": false,
"inherits": [
"configurePresets_base"
],
"displayName": "build libcxxrt",
"description": "build libcxxrt"
}
]
}