This repository has been archived by the owner on Jan 6, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathCMakePresets.json
139 lines (139 loc) · 5.51 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
{
"version": 2,
"configurePresets": [
{
"name": "ninja-arm64",
"displayName": "Ninja Multi-Config Configure Settings(arm64)",
"description": "Sets Ninja generator, build and install directory",
"generator": "Ninja",
"binaryDir": "${sourceDir}/out/build/${presetName}",
"cacheVariables": {
"CMAKE_INSTALL_PREFIX": "${sourceDir}/out/install/${presetName}"
}
},
{
"name": "ninja-vcpkg-x64",
"displayName": "Ninja Multi-Config Configure Settings(x64)",
"description": "Configure with vcpkg toolchain",
"generator": "Ninja",
"binaryDir": "${sourceDir}/build/${presetName}",
"cacheVariables": {
"CMAKE_TOOLCHAIN_FILE": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake",
"CMAKE_INSTALL_PREFIX": "${sourceDir}/install/${presetName}"
}
},
{
"name": "msvc-vcpkg-x64",
"displayName": "MSVC Multi-Config Configure Settings(x64)",
"description": "Configure with vcpkg toolchain",
"generator": "Visual Studio 17 2022",
"toolset": "host=x64",
"architecture": "x64",
"binaryDir": "${sourceDir}/build/${presetName}",
"cacheVariables": {
"CMAKE_TOOLCHAIN_FILE": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake",
"CMAKE_INSTALL_PREFIX": "${sourceDir}/install/${presetName}"
}
},
{
"name": "msvc-vcpkg-x64_x86",
"displayName": "MSVC Multi-Config Configure Settings(x64_x86)",
"description": "Configure with vcpkg toolchain",
"generator": "Visual Studio 17 2022",
"toolset": "host=x64",
"architecture": "Win32",
"binaryDir": "${sourceDir}/build/${presetName}",
"cacheVariables": {
"CMAKE_TOOLCHAIN_FILE": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake",
"CMAKE_INSTALL_PREFIX": "${sourceDir}/install/${presetName}"
}
},
{
"name": "msvc-vcpkg-static-x64",
"displayName": "MSVC Multi-Config Configure Settings(static x64)",
"description": "Configure with vcpkg toolchain",
"generator": "Visual Studio 17 2022",
"toolset": "host=x64",
"architecture": "x64",
"binaryDir": "${sourceDir}/build/${presetName}",
"cacheVariables": {
"CMAKE_TOOLCHAIN_FILE": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake",
"VCPKG_TARGET_TRIPLET": "x64-windows-static",
"CMAKE_INSTALL_PREFIX": "${sourceDir}/install/${presetName}"
}
},
{
"name": "msvc-vcpkg-static-x64_x86",
"displayName": "MSVC Multi-Config Configure Settings(static x64_x86)",
"description": "Configure with vcpkg toolchain",
"generator": "Visual Studio 17 2022",
"toolset": "host=x64",
"architecture": "Win32",
"binaryDir": "${sourceDir}/build/${presetName}",
"cacheVariables": {
"CMAKE_TOOLCHAIN_FILE": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake",
"VCPKG_TARGET_TRIPLET": "x86-windows-static",
"CMAKE_INSTALL_PREFIX": "${sourceDir}/install/${presetName}"
}
}
],
"buildPresets": [
{
"name": "ninja-vcpkg-x64-debug",
"description": "Build ninja-vcpkg-x64 Debug",
"displayName": "Build ninja-vcpkg-x64 Debug",
"configurePreset": "ninja-vcpkg-x64",
"configuration": "Debug",
"targets": "all"
},
{
"name": "ninja-vcpkg-x64-release",
"description": "Build ninja-vcpkg-x64 Release",
"displayName": "Build ninja-vcpkg-x64 Release",
"configurePreset": "ninja-vcpkg-x64",
"configuration": "Release",
"targets": [
"all",
"install"
]
},
{
"name": "msvc-vcpkg-x64-debug",
"description": "Build msvc-vcpkg-x64 Debug",
"displayName": "Build msvc-vcpkg-x64 Debug",
"configurePreset": "msvc-vcpkg-x64",
"configuration": "Debug",
"targets": "ALL_BUILD"
},
{
"name": "msvc-vcpkg-x64_x86-debug",
"description": "Build msvc-vcpkg-x64_x86 Debug",
"displayName": "Build msvc-vcpkg-x64_x86 Debug",
"configurePreset": "msvc-vcpkg-x64_x86",
"configuration": "Debug",
"targets": "ALL_BUILD"
},
{
"name": "msvc-vcpkg-static-x64-release",
"description": "Build msvc-vcpkg-static-x64 Release",
"displayName": "Build msvc-vcpkg-static-x64 Release",
"configurePreset": "msvc-vcpkg-static-x64",
"configuration": "Release",
"targets": [
"ALL_BUILD",
"install"
]
},
{
"name": "msvc-vcpkg-static-x64_x86-release",
"description": "Build msvc-vcpkg-static-x64_x86 Release",
"displayName": "Build msvc-vcpkg-static-x64_x86 Release",
"configurePreset": "msvc-vcpkg-static-x64_x86",
"configuration": "Release",
"targets": [
"ALL_BUILD",
"install"
]
}
]
}