-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCMakeUserPresets.json
More file actions
51 lines (50 loc) · 1.3 KB
/
Copy pathCMakeUserPresets.json
File metadata and controls
51 lines (50 loc) · 1.3 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
{
"version": 2,
"configurePresets": [
{
"name": "vcpkg-vs2019",
"hidden": true,
"generator": "Visual Studio 16 2019",
"architecture": "x64",
"toolset": "host=x64",
"binaryDir": "${sourceDir}/build",
"cacheVariables": {
"Z_VCPKG_POWERSHELL_PATH": "C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe",
"CMAKE_TOOLCHAIN_FILE": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake",
"QT_PREFIX": "E:/DevEnvs/qt/5.15.2/msvc2019_64"
},
"environment": {
"VCPKG_ROOT": "E:/DevEnvs/cpp/vcpkg",
"PATH": "$penv{PATH};C:\\Windows\\System32\\WindowsPowerShell\\v1.0"
}
},
{
"name": "debug",
"inherits": "vcpkg-vs2019",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"CMAKE_MSVC_RUNTIME_LIBRARY": "MultiThreadedDebugDLL"
}
},
{
"name": "release",
"inherits": "vcpkg-vs2019",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release",
"CMAKE_MSVC_RUNTIME_LIBRARY": "MultiThreadedDLL"
}
}
],
"buildPresets": [
{
"name": "debug",
"configurePreset": "debug",
"configuration": "Debug"
},
{
"name": "release",
"configurePreset": "release",
"configuration": "Release"
}
]
}