-
Notifications
You must be signed in to change notification settings - Fork 88
Expand file tree
/
Copy pathCMakePresets.json
More file actions
57 lines (57 loc) · 1.46 KB
/
Copy pathCMakePresets.json
File metadata and controls
57 lines (57 loc) · 1.46 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
54
55
56
57
{
"version": 3,
"cmakeMinimumRequired": {
"major": 3,
"minor": 21,
"patch": 0
},
"configurePresets": [
{
"name": "vs2022-vcpkg",
"displayName": "Visual Studio 2022 + vcpkg (x64)",
"description": "Windows multi-config configure with vcpkg manifest dependencies (MPFR).",
"generator": "Visual Studio 17 2022",
"architecture": "x64",
"binaryDir": "${sourceDir}/build/vs2022-vcpkg",
"cacheVariables": {
"CMAKE_TOOLCHAIN_FILE": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake",
"VCPKG_TARGET_TRIPLET": "x64-windows",
"GECODE_ENABLE_MPFR": "ON",
"GECODE_ENABLE_QT": "OFF",
"GECODE_ENABLE_GIST": "OFF"
},
"condition": {
"type": "equals",
"lhs": "${hostSystemName}",
"rhs": "Windows"
}
}
],
"buildPresets": [
{
"name": "vs2022-vcpkg-release",
"displayName": "Build Release (VS + vcpkg)",
"configurePreset": "vs2022-vcpkg",
"configuration": "Release",
"condition": {
"type": "equals",
"lhs": "${hostSystemName}",
"rhs": "Windows"
}
},
{
"name": "vs2022-vcpkg-check",
"displayName": "Run check target (VS + vcpkg)",
"configurePreset": "vs2022-vcpkg",
"configuration": "Release",
"targets": [
"check"
],
"condition": {
"type": "equals",
"lhs": "${hostSystemName}",
"rhs": "Windows"
}
}
]
}