-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCMakePresets.json
More file actions
77 lines (77 loc) · 2.36 KB
/
CMakePresets.json
File metadata and controls
77 lines (77 loc) · 2.36 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
{
"version": 3,
"configurePresets": [
{
"name": "vs2022",
"displayName": "Visual Studio 17 2022 (LLVM - ClangCL)",
"description": "Using compilers for Visual Studio 17 2022 (x64 architecture)",
"generator": "Visual Studio 17 2022",
"toolset": "ClangCL",
"architecture": "x64",
"binaryDir": "${sourceDir}/build",
"cacheVariables": {
"CMAKE_INSTALL_PREFIX": "${sourceDir}/out/install/",
"VCPKG_OVERLAY_TRIPLETS": "${sourceDir}/vcpkg-overlays/triplets",
"VCPKG_TARGET_TRIPLET": "x64-windows-ndgamesdk.cmake"
}
},
{
"name": "vs2026",
"displayName": "VS 2026 (Ninja + clang-cl)",
"description": "Ninja multi-config build using Visual Studio 2026's clang-cl toolchain",
"generator": "Ninja Multi-Config",
"binaryDir": "${sourceDir}/build-vs2026",
"cacheVariables": {
"CMAKE_INSTALL_PREFIX": "${sourceDir}/out/install/",
"VCPKG_OVERLAY_TRIPLETS": "${sourceDir}/vcpkg-overlays/triplets",
"VCPKG_TARGET_TRIPLET": "x64-windows-ndgamesdk.cmake",
"CMAKE_C_COMPILER": "C:/Program Files/Microsoft Visual Studio/18/Insiders/VC/Tools/Llvm/x64/bin/clang-cl.exe",
"CMAKE_CXX_COMPILER": "C:/Program Files/Microsoft Visual Studio/18/Insiders/VC/Tools/Llvm/x64/bin/clang-cl.exe"
}
}
],
"buildPresets": [
{
"name": "Release 2022",
"description": "",
"displayName": "Release",
"configuration": "Release",
"configurePreset": "vs2022"
},
{
"name": "RelWithDebInfo 2022",
"description": "",
"displayName": "RelWithDebInfo",
"configuration": "RelWithDebInfo",
"configurePreset": "vs2022"
},
{
"name": "Debug 2022",
"description": "",
"displayName": "Debug",
"configuration": "Debug",
"configurePreset": "vs2022"
},
{
"name": "Release 2026",
"description": "",
"displayName": "Release",
"configuration": "Release",
"configurePreset": "vs2026"
},
{
"name": "RelWithDebInfo 2026",
"description": "",
"displayName": "RelWithDebInfo",
"configuration": "RelWithDebInfo",
"configurePreset": "vs2026"
},
{
"name": "Debug 2026",
"description": "",
"displayName": "Debug",
"configuration": "Debug",
"configurePreset": "vs2026"
}
]
}