forked from dingodb/cpp-benchmarks
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakePresets.json
41 lines (41 loc) · 1.16 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
34
35
36
37
38
39
40
41
{
"version": 3,
"cmakeMinimumRequired": {
"major": 3,
"minor": 21,
"patch": 0
},
"configurePresets": [
{
"name": "ninja-multiconfiguration-vcpkg",
"displayName": "Ninja Multi-Config",
"description": "Configure with vcpkg toolchain and generate Ninja project files for all configurations",
"binaryDir": "${sourceDir}/builds/${presetName}",
"generator": "Ninja Multi-Config",
"cacheVariables": {
"CMAKE_TOOLCHAIN_FILE": {
"type": "FILEPATH",
"value": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake"
}
},
"environment": {
"VCPKG_ROOT": "./vcpkg"
}
}
],
"buildPresets": [
{
"name": "ninja-multiconfiguration-vcpkg",
"configurePreset": "ninja-multiconfiguration-vcpkg",
"displayName": "Build ninja-multiconfiguration-vcpkg",
"description": "Build with Ninja the configuration specified with --config"
}
],
"testPresets": [
{
"name": "ninja-multiconfiguration-vcpkg",
"configurePreset": "ninja-multiconfiguration-vcpkg",
"description": "Test with Ninja the provided configuration with --config"
}
]
}