forked from NauEngine/NauEnginePublic
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakePresets.json
233 lines (230 loc) · 7.99 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
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
{
"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",
"NAU_BUILD_SDK": true,
"BUILD_SHARED_LIBS": false,
"EASTL_BUILD_BENCHMARK": false,
"EASTL_BUILD_TESTS": false,
"TRACY_ENABLE": false
}
},
{
"name": "vs_2022_base",
"hidden": true,
"generator": "Visual Studio 17 2022",
"cacheVariables": {
"CMAKE_CONFIGURATION_TYPES": "Debug;Release;RelWithDebInfo"
},
"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": "VS 2022 x64",
"description": "Configure for Visual Studio 17 2022",
"hidden": false
},
{
"name": "win_vs2022_x64_dll",
"inherits": ["config_base", "vs_2022_base"],
"displayName": "VS 2022 x64 DLL",
"description": "Configure DLL for Visual Studio 17 2022",
"hidden": false,
"cacheVariables": {
"BUILD_SHARED_LIBS": true
}
},
{
"name": "win_vs2022_x64_dll_asan",
"inherits": ["config_base", "vs_2022_base"],
"displayName": "VS 2022 x64 DLL Asan",
"description": "Configure DLL Asan for Visual Studio 17 2022",
"hidden": false,
"cacheVariables": {
"BUILD_SHARED_LIBS": true,
"BUILD_DEBUG_WITH_ASAN": 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": "VS 2022 x64 Debug",
"configurePreset": "win_vs2022_x64",
"configuration": "Debug"
},
{
"name": "VS Debug DLL",
"displayName": "VS 2022 x64 Debug DLL",
"configurePreset": "win_vs2022_x64_dll",
"configuration": "Debug"
},
{
"name": "VS Debug DLL Asan",
"displayName": "VS 2022 x64 Debug DLL Asan",
"configurePreset": "win_vs2022_x64_dll_asan",
"configuration": "Debug"
},
{
"name": "VS Release",
"displayName": "VS 2022 x64 Release",
"configurePreset": "win_vs2022_x64",
"configuration": "Release"
},
{
"name": "VS RelWithDebugInfo",
"displayName": "VS 2022 x64 RelWithDebInfo",
"configurePreset": "win_vs2022_x64",
"configuration": "RelWithDebInfo"
},
{
"name": "VS Release DLL",
"displayName": "VS 2022 x64 Release DLL",
"configurePreset": "win_vs2022_x64_dll",
"configuration": "Release"
},
{
"name": "VS RelWithDebugInfo DLL",
"displayName": "VS 2022 x64 RelWithDebInfo DLL",
"configurePreset": "win_vs2022_x64_dll",
"configuration": "RelWithDebInfo"
},
{
"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"
}
]
}