-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathCMakePresets.json
More file actions
35 lines (35 loc) · 810 Bytes
/
CMakePresets.json
File metadata and controls
35 lines (35 loc) · 810 Bytes
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
{
"version": 2,
"configurePresets": [
{
"name": "vcpkg",
"generator": "Unix Makefiles",
"binaryDir": "${sourceDir}/build/${presetName}",
"architecture": {
"value": "x64",
"strategy": "external"
},
"cacheVariables": {
"CMAKE_TOOLCHAIN_FILE": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake",
"BUILD_SHARED_LIBS": "OFF",
"CMAKE_BUILD_TYPE": "Release"
}
},
{
"name": "vcpkg-windows",
"inherits": "vcpkg",
"generator": "Ninja",
"cacheVariables": {
"VCPKG_TARGET_TRIPLET": "x64-windows",
"CMAKE_CXX_COMPILER": "cl"
}
},
{
"name": "vcpkg-debug",
"inherits": "vcpkg",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug"
}
}
]
}