-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCMakePresets.json
More file actions
50 lines (50 loc) · 1.37 KB
/
CMakePresets.json
File metadata and controls
50 lines (50 loc) · 1.37 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
{
"version": 2,
"cmakeMinimumRequired": {
"major": 3,
"minor": 27
},
"configurePresets": [
{
"name": "base-preset",
"hidden": true,
"binaryDir": "${sourceDir}/build/${presetName}",
"cacheVariables": {
"BUILD_TESTING": "ON",
"CMAKE_INSTALL_PREFIX": "${sourceDir}/build/${presetName}/install"
}
},
{
"name": "vs2022",
"inherits": "base-preset",
"generator": "Visual Studio 17 2022",
"cacheVariables": {
"CMAKE_CONFIGURATION_TYPES": "Debug;RelWithDebInfo",
"BUILD_DEBUG_WITH_ASAN": "ON"
}
},
{
"name": "vs2019_xp",
"inherits": "base-preset",
"generator": "Visual Studio 16 2019",
"architecture": "Win32,version=10.0.19041.0",
"toolset": {
"value": "v142,version=14.27"
},
"cacheVariables": {
"CMAKE_CONFIGURATION_TYPES": "Debug;RelWithDebInfo",
"BUILD_FOR_WINXP": "ON"
}
}
],
"buildPresets": [
{
"name": "vs2022",
"configurePreset": "vs2022"
},
{
"name": "vs2019_xp",
"configurePreset": "vs2019_xp"
}
]
}