]> git.ipfire.org Git - thirdparty/openvpn.git/blame - CMakePresets.json
configure: allow to disable NTLM
[thirdparty/openvpn.git] / CMakePresets.json
CommitLineData
e8881ec6
FL
1{
2 "version": 3,
3 "configurePresets": [
4 {
5 "name": "base",
6 "hidden": true,
7 "cacheVariables": {
8 "CMAKE_TOOLCHAIN_FILE": {
9 "value": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake",
10 "type": "FILEPATH"
11 },
12 "VCPKG_OVERLAY_TRIPLETS": {
13 "value": "${sourceDir}/contrib/vcpkg-triplets",
14 "type": "FILEPATH"
15 },
16 "VCPKG_OVERLAY_PORTS": {
17 "value": "${sourceDir}/contrib/vcpkg-ports",
18 "type": "FILEPATH"
19 }
20 }
21 },
22 {
23 "name": "base-windows",
24 "hidden": true,
25 "binaryDir": "${sourceDir}/out/build/${presetName}",
26 "generator": "Visual Studio 17 2022",
27 "cacheVariables": {
28 "VCPKG_MANIFEST_DIR": "${sourceDir}/contrib/vcpkg-manifests/windows",
29 "VCPKG_HOST_TRIPLET": "x64-windows"
30 },
31 "vendor": { "microsoft.com/VisualStudioSettings/CMake/1.0": { "hostOS": [ "Windows" ] } }
32 },
33 {
34 "name": "base-mingw",
35 "hidden": true,
36 "generator": "Ninja Multi-Config",
37 "cacheVariables": {
38 "CMAKE_SYSTEM_NAME": {
39 "value": "Windows",
40 "type": "STRING"
41 },
42 "VCPKG_MANIFEST_DIR": "${sourceDir}/contrib/vcpkg-manifests/mingw"
43 }
44 },
45 {
46 "name": "x64",
47 "hidden": true,
48 "architecture": {
49 "value": "x64",
50 "strategy": "set"
51 },
52 "cacheVariables": {
53 "VCPKG_TARGET_TRIPLET": "x64-windows-ovpn"
54 }
55 },
56 {
57 "name": "x64-mingw",
58 "hidden": true,
59 "binaryDir": "out/build/mingw/x64",
60 "cacheVariables": {
61 "CMAKE_C_COMPILER": {
62 "value": "x86_64-w64-mingw32-gcc",
63 "type": "STRING"
64 },
65 "CMAKE_CXX_COMPILER": {
66 "value": "x86_64-w64-mingw32-g++",
67 "type": "STRING"
68 },
69 "VCPKG_TARGET_TRIPLET": "x64-mingw-ovpn"
70 }
71 },
72 {
73 "name": "arm64",
74 "hidden": true,
75 "architecture": {
76 "value": "arm64",
77 "strategy": "set"
78 },
79 "cacheVariables": {
80 "VCPKG_TARGET_TRIPLET": "arm64-windows-ovpn"
81 }
82 },
83 {
84 "name": "x86",
85 "hidden": true,
86 "architecture": {
87 "value": "Win32",
88 "strategy": "set"
89 },
90 "cacheVariables": {
91 "VCPKG_TARGET_TRIPLET": "x86-windows-ovpn"
92 }
93 },
94 {
95 "name": "i686-mingw",
96 "hidden": true,
97 "binaryDir": "out/build/mingw/x86",
98 "cacheVariables": {
99 "CMAKE_C_COMPILER": {
100 "value": "i686-w64-mingw32-gcc",
101 "type": "STRING"
102 },
103 "CMAKE_CXX_COMPILER": {
104 "value": "i686-w64-mingw32-g++",
105 "type": "STRING"
106 },
107 "VCPKG_TARGET_TRIPLET": "x86-mingw-ovpn"
108 }
109 },
110 {
111 "name": "debug",
112 "hidden": true,
113 "cacheVariables": {
114 "CMAKE_BUILD_TYPE": "Debug"
115 }
116 },
117 {
118 "name": "release",
119 "hidden": true,
120 "cacheVariables": {
121 "CMAKE_BUILD_TYPE": "Release"
122 }
123 },
124 {
125 "name": "mingw-x64",
126 "inherits": [ "base", "base-mingw", "x64-mingw" ]
127 },
128 {
129 "name": "mingw-x86",
130 "inherits": [ "base", "base-mingw", "i686-mingw" ]
131 },
132 {
133 "name": "win-amd64-release",
134 "inherits": [ "base", "base-windows", "x64", "release" ]
135 },
136 {
137 "name": "win-arm64-release",
138 "inherits": [ "base", "base-windows", "arm64", "release" ]
139 },
140 {
141 "name": "win-x86-release",
142 "inherits": [ "base", "base-windows", "x86", "release" ]
143 },
144 {
145 "name": "win-amd64-debug",
146 "inherits": [ "base", "base-windows", "x64", "debug" ]
147 },
148 {
149 "name": "win-arm64-debug",
150 "inherits": [ "base", "base-windows", "arm64", "debug" ]
151 },
152 {
153 "name": "win-x86-debug",
154 "inherits": [ "base", "base-windows", "x86", "debug" ]
155 },
156 {
157 "name": "unix-native",
158 "generator": "Ninja Multi-Config",
159 "binaryDir": "out/build/unix"
160 }
161 ],
162 "buildPresets": [
163 {
164 "name": "mingw-x64",
165 "configurePreset": "mingw-x64"
166 },
167 {
168 "name": "mingw-x86",
169 "configurePreset": "mingw-x86"
170 },
171 {
172 "name": "win-amd64-release",
173 "configurePreset": "win-amd64-release",
174 "configuration": "Release"
175 },
176 {
177 "name": "win-arm64-release",
178 "configurePreset": "win-arm64-release",
179 "configuration": "Release"
180 },
181 {
182 "name": "win-x86-release",
183 "configurePreset": "win-x86-release",
184 "configuration": "Release"
185 },
186 {
187 "name": "win-amd64-debug",
188 "configurePreset": "win-amd64-debug",
189 "configuration": "Debug"
190 },
191 {
192 "name": "win-arm64-debug",
193 "configurePreset": "win-arm64-debug",
194 "configuration": "Debug"
195 },
196 {
197 "name": "win-x86-debug",
198 "configurePreset": "win-x86-debug",
199 "configuration": "Debug"
200 },
201 {
202 "name": "unix-native",
203 "configurePreset": "unix-native"
204 }
205 ],
206 "testPresets": [
207 {
208 "name": "win-amd64-release",
209 "configurePreset": "win-amd64-release"
210 },
211 {
212 "name": "win-x86-release",
213 "configurePreset": "win-x86-release"
214 },
215 {
216 "name": "win-amd64-debug",
217 "configurePreset": "win-amd64-debug"
218 },
219 {
220 "name": "win-x86-debug",
221 "configurePreset": "win-x86-debug"
222 },
223 {
224 "name": "unix-native",
225 "configurePreset": "unix-native"
226 }
227 ]
228}