-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathCMakePresets.json
More file actions
83 lines (83 loc) · 1.9 KB
/
Copy pathCMakePresets.json
File metadata and controls
83 lines (83 loc) · 1.9 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
{
"version": 6,
"configurePresets": [
{
"name": "base",
"hidden": true,
"generator": "Ninja",
"binaryDir": "${sourceDir}/cmake-build/${presetName}",
"toolchainFile": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake",
"condition": {
"type": "equals",
"lhs": "${hostSystemName}",
"rhs": "Windows"
}
},
{
"name": "windows",
"hidden": true,
"inherits": "base",
"cacheVariables": {
"VCPKG_TARGET_TRIPLET": "x64-windows-static"
}
},
{
"name": "windows-clang",
"hidden": true,
"inherits": "base",
"cacheVariables": {
"CMAKE_CXX_COMPILER": "clang.exe",
"CMAKE_LINKER": "lld-link.exe",
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON",
"VCPKG_TARGET_TRIPLET": "x64-win-llvm-static",
"VCPKG_OVERLAY_TRIPLETS": "${sourceDir}/cmake/vcpkg"
}
},
{
"name": "debug-windows",
"inherits": "windows",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug"
}
},
{
"name": "release-windows",
"inherits": "windows",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "RelWithDebInfo"
}
},
{
"name": "debug-windows-clang",
"inherits": "windows-clang",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug"
}
},
{
"name": "release-windows-clang",
"inherits": "windows-clang",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "RelWithDebInfo"
}
}
],
"buildPresets": [
{
"name": "debug-windows",
"configurePreset": "debug-windows"
},
{
"name": "release-windows",
"configurePreset": "release-windows"
},
{
"name": "debug-windows-clang",
"configurePreset": "debug-windows-clang"
},
{
"name": "release-windows-clang",
"configurePreset": "release-windows-clang"
}
]
}