-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCMakePresets.json
More file actions
53 lines (53 loc) · 1.24 KB
/
CMakePresets.json
File metadata and controls
53 lines (53 loc) · 1.24 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
{
"version": 10,
"cmakeMinimumRequired": {
"major": 3,
"minor": 23,
"patch": 0
},
"configurePresets": [
{
"name": "x64",
"generator": "Visual Studio 18 2026",
"architecture": "x64",
"binaryDir": "${sourceDir}/build/${presetName}",
"cacheVariables": {
"CMAKE_TOOLCHAIN_FILE": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake",
"VCPKG_TARGET_TRIPLET": "x64-windows-static",
"CMAKE_MSVC_RUNTIME_LIBRARY": "MultiThreaded$<$<CONFIG:Debug>:Debug>",
"CMAKE_CXX_FLAGS_INIT": "/D_WIN32_WINNT=0x0A00 /DWINVER=0x0A00"
}
},
{
"name": "x86",
"inherits": "x64",
"description": "Build for x86 architecture",
"architecture": "Win32",
"cacheVariables": {
"VCPKG_TARGET_TRIPLET": "x86-windows-static"
}
}
],
"buildPresets": [
{
"name": "x64",
"configurePreset": "x64",
"configuration": "Release"
},
{
"name": "x86",
"configurePreset": "x86",
"configuration": "Release"
},
{
"name": "x64-Debug",
"configurePreset": "x64",
"configuration": "Debug"
},
{
"name": "x86-Debug",
"configurePreset": "x86",
"configuration": "Debug"
}
]
}