-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakePresets.json
33 lines (33 loc) · 1.1 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
{
"version": 3,
"configurePresets": [
{
"name": "vs2022",
"displayName": "Visual Studio Community 2022 Release - amd64",
"description": "Using compilers for Visual Studio 17 2022 (x64 architecture)",
"generator": "Visual Studio 17 2022",
"toolset": "host=x64",
"architecture": "x64",
"binaryDir": "${sourceDir}/out/build/${presetName}",
"installDir": "${sourceDir}/out/install/${presetName}",
"cacheVariables": {
"CMAKE_C_COMPILER": "cl.exe",
"CMAKE_CXX_COMPILER": "cl.exe"
}
}
],
"buildPresets": [
{
"name": "vs2022-debug",
"displayName": "Visual Studio Community 2022 Release - amd64 - Debug",
"configurePreset": "vs2022",
"configuration": "Debug"
},
{
"name": "vs2022-release",
"displayName": "Visual Studio Community 2022 Release - amd64 - Release",
"configurePreset": "vs2022",
"configuration": "Release"
}
]
}