-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathCMakePresets.json
216 lines (195 loc) · 6.84 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
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
{
"version": 5,
"configurePresets": [
{
"name": "config_base",
"hidden": true,
"binaryDir": "${sourceDir}/build/${presetName}",
"installDir": "${sourceDir}/dist/${presetName}",
"cacheVariables": {
"CMAKE_EXPORT_COMPILE_COMMANDS": true,
"CMAKE_SYSTEM_VERSION": "10.0",
"CMAKE_TOOLCHAIN_FILE": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake",
"VCPKG_MANIFEST_MODE": true,
"NAU_BUILD_SDK": true,
"BUILD_SHARED_LIBS": false,
"EASTL_BUILD_BENCHMARK": false,
"EASTL_BUILD_TESTS": false
}
},
{
"name": "vs_2022_base",
"hidden": true,
"generator": "Visual Studio 17 2022",
"cacheVariables": {
"CMAKE_CONFIGURATION_TYPES": "Debug;Release"
},
"vendor": {
"microsoft.com/VisualStudioSettings/CMake/1.0": {
"hostOS": ["Windows"],
"intelliSenseMode": "windows-msvc-x64"
}
}
},
{
"name": "win_ninja_clangcl_base",
"hidden": true,
"generator": "Ninja",
"cacheVariables": {
"CMAKE_CXX_COMPILER": "clang-cl.exe",
"CMAKE_C_COMPILER": "clang-cl.exe",
"CMAKE_RC_COMPILER": "rc.exe",
"CMAKE_CL_SHOWINCLUDES_PREFIX": "Note: including file:"
},
"vendor": {
"microsoft.com/VisualStudioSettings/CMake/1.0": {
"hostOS": ["Windows"],
"intelliSenseMode": "windows-clang-x64"
}
}
},
{
"name": "win_vs2022_x64_base",
"inherits": ["config_base", "vs_2022_base"],
"hidden": true,
"toolset": {
"strategy": "set",
"value": "v143,host=x64"
},
"architecture": {
"strategy": "set",
"value": "x64"
}
},
{
"name": "win_vs2022_x64",
"inherits": ["win_vs2022_x64_base"],
"displayName": "Visual Studio 2022 x64",
"description": "Configure for Visual Studio 17 2022",
"hidden": false
},
{
"name": "win_vs2022_x64_dll",
"inherits": ["config_base", "vs_2022_base"],
"displayName": "Visual Studio 2022 x64, DLL",
"description": "Dll configure for Visual Studio 17 2022",
"hidden": false,
"cacheVariables": {
"BUILD_SHARED_LIBS": true
}
},
{
"name": "win_ninja_clangcl",
"generator": "Ninja Multi-Config",
"inherits": ["config_base", "win_ninja_clangcl_base"],
"displayName": "Ninja with ClangCl (Multi-Config)",
"description": "Configure for ninja with clang-cl compiler",
"hidden": false,
"cacheVariables": {
"CMAKE_CONFIGURATION_TYPES": "Debug;Release"
}
},
{
"name": "win_ninja_clangcl-debug",
"inherits": ["config_base", "win_ninja_clangcl_base"],
"displayName": "Ninja with ClangCl (Debug)",
"description": "Configure for ninja with clang-cl compiler",
"hidden": false,
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug"
}
},
{
"name": "win_ninja_clangcl-debug_dll",
"inherits": ["config_base", "win_ninja_clangcl_base"],
"displayName": "Ninja with ClangCl, DLL (Debug)",
"description": "Dll configure for ninja with clang-cl compiler",
"hidden": false,
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"BUILD_SHARED_LIBS": true
}
},
{
"name": "ninja_clang_base",
"hidden": true,
"generator": "Ninja",
"cacheVariables": {
"CMAKE_CXX_COMPILER": "clang",
"CMAKE_C_COMPILER": "clang",
"CMAKE_CL_SHOWINCLUDES_PREFIX": "Note: including file:"
}
},
{
"name": "ninja_clang-debug",
"inherits": ["config_base", "ninja_clang_base"],
"displayName": "Ninja with LLVM Clang (Debug)",
"description": "Configure for ninja with LLVM clang compiler",
"hidden": false,
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug"
}
},
{
"name": "ninja_clang-debug_dll",
"inherits": ["config_base", "ninja_clang_base"],
"displayName": "Ninja with LLVM Clang (Debug)",
"description": "Dll configure for ninja with LLVM clang compiler",
"hidden": false,
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"BUILD_SHARED_LIBS": true
}
}
],
"buildPresets": [
{
"name": "VS Debug",
"displayName": "Visual Studio Community 2022 x64 Debug",
"configurePreset": "win_vs2022_x64",
"configuration": "Debug"
},
{
"name": "VS Debug Dll",
"displayName": "Visual Studio Community 2022 x64 Debug Dll",
"configurePreset": "win_vs2022_x64_dll",
"configuration": "Debug"
},
{
"name": "VS Release",
"displayName": "Visual Studio Community 2022 x64 Release",
"configurePreset": "win_vs2022_x64",
"configuration": "Release"
},
{
"name": "Ninja ClangCl Debug",
"displayName": "Ninja ClangCl (Debug)",
"configurePreset": "win_ninja_clangcl-debug",
"configuration": "Debug"
},
{
"name": "Ninja ClangCl Debug Dll",
"displayName": "Ninja ClangCl Dll (Debug)",
"configurePreset": "win_ninja_clangcl-debug_dll",
"configuration": "Debug"
},
{
"name": "Ninja Clang Debug",
"displayName": "Ninja ClangCl (Debug)",
"configurePreset": "ninja_clang-debug",
"configuration": "Debug"
},
{
"name": "Ninja Clang Debug Dll",
"displayName": "Ninja ClangCl Dll (Debug)",
"configurePreset": "ninja_clang-debug_dll",
"configuration": "Debug"
},
{
"name": "Ninja ClangCl Release",
"displayName": "Ninja ClangCl (Release)",
"configurePreset": "win_ninja_clangcl",
"configuration": "Release"
}
]
}