-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathCMakePresets.json
104 lines (104 loc) · 3.34 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
{
"version": 5,
"cmakeMinimumRequired": {
"major": 3,
"minor": 15,
"patch": 0
},
"configurePresets": [
{
"name": "Ninja Debug x64",
"displayName": "Ninja Debug x64",
"description": "Ninja Debug x64",
"generator": "Ninja",
"binaryDir": "${sourceDir}/build/ninja-debug-x64",
"installDir": "${sourceDir}/install/ninja-debug-x64",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"CMAKE_TOOLCHAIN_FILE": "${sourceDir}/vcpkg/scripts/buildsystems/vcpkg.cmake",
"VCPKG_TARGET_TRIPLET": "x64-windows",
"CMAKE_C_COMPILER": "cl",
"CMAKE_CXX_COMPILER": "cl",
"CMAKE_RC_COMPILER": "rc"
}
},
{
"name": "Ninja Release x64",
"displayName": "Ninja Release x64",
"description": "Ninja Release x64",
"generator": "Ninja",
"binaryDir": "${sourceDir}/build/ninja-release-x64",
"installDir": "${sourceDir}/install/ninja-release-x64",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release",
"CMAKE_TOOLCHAIN_FILE": "${sourceDir}/vcpkg/scripts/buildsystems/vcpkg.cmake",
"VCPKG_TARGET_TRIPLET": "x64-windows",
"CMAKE_C_COMPILER": "cl",
"CMAKE_CXX_COMPILER": "cl",
"CMAKE_RC_COMPILER": "rc"
}
},
{
"name": "Ninja Debug Win64 LLVM",
"displayName": "Ninja Debug Win64 LLVM",
"description": "Ninja Debug Win64 LLVM",
"generator": "Ninja",
"binaryDir": "${sourceDir}/build/ninja-debug-win64-llvm",
"installDir": "${sourceDir}/install/ninja-debug-win64-llvm",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"CMAKE_TOOLCHAIN_FILE": "${sourceDir}/vcpkg/scripts/buildsystems/vcpkg.cmake",
"VCPKG_TARGET_TRIPLET": "x64-windows-llvm",
"CMAKE_C_COMPILER": "clang",
"CMAKE_CXX_COMPILER": "clang++",
"CMAKE_RC_COMPILER": "llvm-rc"
}
},
{
"name": "Ninja Release Win64 LLVM",
"displayName": "Ninja Release Win64 LLVM",
"description": "Ninja Release Win64 LLVM",
"generator": "Ninja",
"binaryDir": "${sourceDir}/build/ninja-release-win64-llvm",
"installDir": "${sourceDir}/install/ninja-release-win64-llvm",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release",
"CMAKE_TOOLCHAIN_FILE": "${sourceDir}/vcpkg/scripts/buildsystems/vcpkg.cmake",
"VCPKG_TARGET_TRIPLET": "x64-windows-llvm",
"CMAKE_C_COMPILER": "clang",
"CMAKE_CXX_COMPILER": "clang++",
"CMAKE_RC_COMPILER": "llvm-rc"
}
}
],
"buildPresets": [
{
"name": "Ninja Debug x64",
"displayName": "Ninja Debug x64",
"description": "Ninja Debug x64",
"configurePreset": "Ninja Debug x64",
"jobs": 16
},
{
"name": "Ninja Release x64",
"displayName": "Ninja Release x64",
"description": "Ninja Release x64",
"configurePreset": "Ninja Release x64",
"jobs": 16
},
{
"name": "Ninja Debug Win64 LLVM",
"displayName": "Ninja Debug Win64 LLVM",
"description": "Ninja Debug Win64 LLVM",
"configurePreset": "Ninja Debug Win64 LLVM",
"jobs": 16
},
{
"name": "Ninja Release Win64 LLVM",
"displayName": "Ninja Release Win64 LLVM",
"description": "Ninja Release Win64 LLVM",
"configurePreset": "Ninja Release Win64 LLVM",
"jobs": 16
}
]
}