-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakePresets.json
131 lines (131 loc) · 3.26 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
121
122
123
124
125
126
127
128
129
130
131
{
"version": 3,
"configurePresets": [
{
"name": "base-msvc",
"description": "Windows preset where compiler PATH is set by the IDE instead of via terminal env vars",
"hidden": true,
"architecture": {
"value": "x64",
"strategy": "external"
},
"toolset": {
"value": "host=x64",
"strategy": "external"
},
"cacheVariables": {
"CMAKE_C_COMPILER": "cl",
"CMAKE_CXX_COMPILER": "cl"
},
"condition": {
"type": "equals",
"lhs": "${hostSystemName}",
"rhs": "Windows"
}
},
{
"name": "base-ninja",
"generator": "Ninja",
"hidden": true,
"cacheVariables": {
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
}
},
{
"name": "base-debug",
"hidden": true,
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug"
}
},
{
"name": "base-release",
"hidden": true,
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release"
}
},
{
"name": "base-profile",
"hidden": true,
"cacheVariables": {
"CMAKE_BUILD_TYPE": "RelWithDebInfo"
}
},
{
"name": "base-macos",
"hidden": true,
"condition": {
"type": "equals",
"lhs": "${hostSystemName}",
"rhs": "Darwin"
}
},
{
"name": "base-linux",
"hidden": true,
"condition": {
"type": "equals",
"lhs": "${hostSystemName}",
"rhs": "Linux"
}
},
{
"name": "debug",
"description": "Preset which expects Qt and compiler to be put into PATH before launching vscode",
"binaryDir": "${sourceDir}/build-debug",
"inherits": [
"base-ninja",
"base-debug"
]
},
{
"name": "release",
"description": "Preset which expects Qt and compiler to be put into PATH before launching vscode",
"binaryDir": "${sourceDir}/build-release",
"inherits": [
"base-ninja",
"base-release"
]
},
{
"name": "profile",
"description": "Preset which expects Qt and compiler to be put into PATH before launching vscode",
"binaryDir": "${sourceDir}/build-profile",
"inherits": [
"base-ninja",
"base-profile"
]
},
{
"name": "debug-msvc",
"description": "Preset which expects Qt to be put into PATH before launching vscode. vsvars64.bat is called by the IDE automatically.",
"binaryDir": "${sourceDir}/build-debug-msvc",
"inherits": [
"base-debug",
"base-ninja",
"base-msvc"
]
},
{
"name": "release-msvc",
"description": "Preset which expects Qt to be put into PATH before launching vscode. vsvars64.bat is called by the IDE automatically.",
"binaryDir": "${sourceDir}/build-release-msvc",
"inherits": [
"base-release",
"base-ninja",
"base-msvc"
]
},
{
"name": "profile-msvc",
"description": "Preset which expects Qt to be put into PATH before launching vscode. vsvars64.bat is called by the IDE automatically.",
"binaryDir": "${sourceDir}/build-profile-msvc",
"inherits": [
"base-profile",
"base-ninja",
"base-msvc"
]
}
]
}