-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakePresets.json
32 lines (32 loc) · 960 Bytes
/
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
{
"version": 3,
"configurePresets": [
{
"name": "vcpkg",
"displayName": "With vcpkg",
"description": "Default build with vcpkg toolchain",
"binaryDir": "${sourceDir}/build/default",
"toolchainFile": "${sourceDir}/vcpkg/scripts/buildsystems/vcpkg.cmake"
},
{
"name": "windows static",
"inherits": "vcpkg",
"displayName": "Vcpkg Windows x64-windows-static",
"description": "Vcpkg windows build with triplet x64-windows-static",
"condition": {
"type": "equals",
"lhs": "${hostSystemName}",
"rhs": "Windows"
},
"cacheVariables": {
"VCPKG_TARGET_TRIPLET": "x64-windows-static"
}
}
],
"buildPresets": [
{
"name": "vcpkg",
"configurePreset": "vcpkg"
}
]
}