Repository navigation
Expand file tree
/
Copy pathCMakePresets.json
More file actions
78 lines (78 loc) · 2.38 KB
/
Copy pathCMakePresets.json
File metadata and controls
78 lines (78 loc) · 2.38 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
{
"version": 6,
"configurePresets": [
{
"name": "wine-x64",
"displayName": "Wine x64",
"generator": "Ninja Multi-Config",
"toolchainFile": "${sourceDir}/cmake/toolchains/msvc-wine-clang-cl-x64.cmake",
"binaryDir": "${sourceDir}/build",
"cacheVariables": {
"CMAKE_CONFIGURATION_TYPES": "Release;Debug",
"PATCHFIX_BUILD_TESTS": "ON",
"PATCHFIX_WERROR": "ON"
},
"condition": {
"type": "equals",
"lhs": "${hostSystemName}",
"rhs": "Linux"
}
},
{
"name": "windows-x64-release",
"displayName": "Windows x64 Release",
"generator": "Visual Studio 18 2026",
"architecture": "x64",
"toolset": "ClangCL",
"binaryDir": "${sourceDir}/build",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release",
"PATCHFIX_BUILD_TESTS": "ON",
"PATCHFIX_WERROR": "ON"
},
"condition": {
"type": "equals",
"lhs": "${hostSystemName}",
"rhs": "Windows"
}
},
{
"name": "windows-x64-debug",
"displayName": "Windows x64 Debug",
"generator": "Visual Studio 18 2026",
"architecture": "x64",
"toolset": "ClangCL",
"binaryDir": "${sourceDir}/build",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"PATCHFIX_BUILD_TESTS": "ON",
"PATCHFIX_WERROR": "ON"
},
"condition": {
"type": "equals",
"lhs": "${hostSystemName}",
"rhs": "Windows"
}
}
],
"buildPresets": [
{
"name": "wine-x64-release",
"configurePreset": "wine-x64",
"configuration": "Release"
},
{
"name": "wine-x64-debug",
"configurePreset": "wine-x64",
"configuration": "Debug"
},
{
"name": "windows-x64-release",
"configurePreset": "windows-x64-release"
},
{
"name": "windows-x64-debug",
"configurePreset": "windows-x64-debug"
}
]
}