Build: docker image configurable name/repository
[marnav.git] / CMakePresets.json
blob383820f5bb62332f8229af42d374d90c10cbd037
2         "version": 3,
3         "cmakeMinimumRequired": {
4                 "major": 3,
5                 "minor": 11,
6                 "patch": 0
7         },
8         "configurePresets": [
9                 {
10                         "name": "gcc11-release",
11                         "binaryDir": "${sourceDir}/build/${presetName}",
12                         "cacheVariables": {
13                                 "CMAKE_CXX_COMPILER": "g++-11",
14                                 "CMAKE_C_COMPILER": "gcc-11",
15                                 "CMAKE_BUILD_TYPE": "Release"
16                         }
17                 },
18                 {
19                         "name": "gcc11-debug",
20                         "binaryDir": "${sourceDir}/build/${presetName}",
21                         "cacheVariables": {
22                                 "CMAKE_CXX_COMPILER": "g++-11",
23                                 "CMAKE_C_COMPILER": "gcc-11",
24                                 "CMAKE_BUILD_TYPE": "Debug"
25                         }
26                 },
27                 {
28                         "name": "gcc10-release",
29                         "binaryDir": "${sourceDir}/build/${presetName}",
30                         "cacheVariables": {
31                                 "CMAKE_CXX_COMPILER": "g++-10",
32                                 "CMAKE_C_COMPILER": "gcc-10",
33                                 "CMAKE_BUILD_TYPE": "Release"
34                         }
35                 },
36                 {
37                         "name": "gcc10-debug",
38                         "binaryDir": "${sourceDir}/build/${presetName}",
39                         "cacheVariables": {
40                                 "CMAKE_CXX_COMPILER": "g++-10",
41                                 "CMAKE_C_COMPILER": "gcc-10",
42                                 "CMAKE_BUILD_TYPE": "Debug"
43                         }
44                 },
45                 {
46                         "name": "gcc10-arm-linux-gnueabihf-release",
47                         "binaryDir": "${sourceDir}/build/${presetName}",
48                         "cacheVariables": {
49                                 "CMAKE_CXX_COMPILER": "arm-linux-gnueabihf-g++-10",
50                                 "CMAKE_C_COMPILER": "arm-linux-gnueabihf-gcc-10",
51                                 "CMAKE_BUILD_TYPE": "Release",
52                                 "ENABLE_IO": "FALSE",
53                                 "ENABLE_EXAMPLES": "FALSE",
54                                 "ENABLE_TESTS": "FALSE",
55                                 "ENABLE_TOOLS": "FALSE"
56                         }
57                 },
58                 {
59                         "name": "gcc9-release",
60                         "binaryDir": "${sourceDir}/build/${presetName}",
61                         "cacheVariables": {
62                                 "CMAKE_CXX_COMPILER": "g++-9",
63                                 "CMAKE_C_COMPILER": "gcc-9",
64                                 "CMAKE_BUILD_TYPE": "Release"
65                         }
66                 },
67                 {
68                         "name": "gcc9-debug",
69                         "binaryDir": "${sourceDir}/build/${presetName}",
70                         "cacheVariables": {
71                                 "CMAKE_CXX_COMPILER": "g++-9",
72                                 "CMAKE_C_COMPILER": "gcc-9",
73                                 "CMAKE_BUILD_TYPE": "Debug"
74                         }
75                 },
76                 {
77                         "name": "gcc8-release",
78                         "binaryDir": "${sourceDir}/build/${presetName}",
79                         "cacheVariables": {
80                                 "CMAKE_CXX_COMPILER": "g++-8",
81                                 "CMAKE_C_COMPILER": "gcc-8",
82                                 "CMAKE_BUILD_TYPE": "Release"
83                         }
84                 },
85                 {
86                         "name": "gcc8-debug",
87                         "binaryDir": "${sourceDir}/build/${presetName}",
88                         "cacheVariables": {
89                                 "CMAKE_CXX_COMPILER": "g++-8",
90                                 "CMAKE_C_COMPILER": "gcc-8",
91                                 "CMAKE_BUILD_TYPE": "Debug"
92                         }
93                 },
94                 {
95                         "name": "gcc7-release",
96                         "binaryDir": "${sourceDir}/build/${presetName}",
97                         "cacheVariables": {
98                                 "CMAKE_CXX_COMPILER": "g++-7",
99                                 "CMAKE_C_COMPILER": "gcc-7",
100                                 "CMAKE_BUILD_TYPE": "Release"
101                         }
102                 },
103                 {
104                         "name": "gcc7-debug",
105                         "binaryDir": "${sourceDir}/build/${presetName}",
106                         "cacheVariables": {
107                                 "CMAKE_CXX_COMPILER": "g++-7",
108                                 "CMAKE_C_COMPILER": "gcc-7",
109                                 "CMAKE_BUILD_TYPE": "Debug"
110                         }
111                 },
112                 {
113                         "name": "gcc6-release",
114                         "binaryDir": "${sourceDir}/build/${presetName}",
115                         "cacheVariables": {
116                                 "CMAKE_CXX_COMPILER": "g++-6",
117                                 "CMAKE_C_COMPILER": "gcc-6",
118                                 "CMAKE_BUILD_TYPE": "Release"
119                         }
120                 },
121                 {
122                         "name": "gcc6-debug",
123                         "binaryDir": "${sourceDir}/build/${presetName}",
124                         "cacheVariables": {
125                                 "CMAKE_CXX_COMPILER": "g++-6",
126                                 "CMAKE_C_COMPILER": "gcc-6",
127                                 "CMAKE_BUILD_TYPE": "Debug"
128                         }
129                 },
130                 {
131                         "name": "gcc6-release-libonly",
132                         "binaryDir": "${sourceDir}/build/${presetName}",
133                         "cacheVariables": {
134                                 "CMAKE_CXX_COMPILER": "g++-6",
135                                 "CMAKE_C_COMPILER": "gcc-6",
136                                 "CMAKE_BUILD_TYPE": "Release",
137                                 "ENABLE_EXAMPLES": "FALSE",
138                                 "ENABLE_TESTS": "FALSE",
139                                 "ENABLE_TOOLS": "FALSE"
140                         }
141                 },
142                 {
143                         "name": "gcc5-release",
144                         "binaryDir": "${sourceDir}/build/${presetName}",
145                         "cacheVariables": {
146                                 "CMAKE_CXX_COMPILER": "g++-5",
147                                 "CMAKE_C_COMPILER": "gcc-5",
148                                 "CMAKE_BUILD_TYPE": "Release"
149                         }
150                 },
151                 {
152                         "name": "gcc5-debug",
153                         "binaryDir": "${sourceDir}/build/${presetName}",
154                         "cacheVariables": {
155                                 "CMAKE_CXX_COMPILER": "g++-5",
156                                 "CMAKE_C_COMPILER": "gcc-5",
157                                 "CMAKE_BUILD_TYPE": "Debug"
158                         }
159                 },
160                 {
161                         "name": "gcc-release",
162                         "binaryDir": "${sourceDir}/build/${presetName}",
163                         "cacheVariables": {
164                                 "CMAKE_CXX_COMPILER": "g++",
165                                 "CMAKE_C_COMPILER": "gcc",
166                                 "CMAKE_BUILD_TYPE": "Release"
167                         }
168                 },
169                 {
170                         "name": "gcc-debug",
171                         "binaryDir": "${sourceDir}/build/${presetName}",
172                         "cacheVariables": {
173                                 "CMAKE_CXX_COMPILER": "g++",
174                                 "CMAKE_C_COMPILER": "gcc",
175                                 "CMAKE_BUILD_TYPE": "Debug"
176                         }
177                 },
178                 {
179                         "name": "gcc-bench",
180                         "binaryDir": "${sourceDir}/build/${presetName}",
181                         "cacheVariables": {
182                                 "CMAKE_CXX_COMPILER": "g++-6",
183                                 "CMAKE_C_COMPILER": "gcc-6",
184                                 "CMAKE_BUILD_TYPE": "Release",
185                                 "ENABLE_BNECHMARK": "TRUE"
186                         }
187                 },
188                 {
189                         "name": "gcc-sanitize",
190                         "binaryDir": "${sourceDir}/build/${presetName}",
191                         "cacheVariables": {
192                                 "CMAKE_CXX_COMPILER": "g++-6",
193                                 "CMAKE_C_COMPILER": "gcc-6",
194                                 "CMAKE_BUILD_TYPE": "Debug",
195                                 "ENABLE_SANITIZER": "TRUE"
196                         }
197                 },
198                 {
199                         "name": "gcc-coverage",
200                         "binaryDir": "${sourceDir}/build/${presetName}",
201                         "cacheVariables": {
202                                 "CMAKE_CXX_COMPILER": "g++-8",
203                                 "CMAKE_C_COMPILER": "gcc-8",
204                                 "CMAKE_BUILD_TYPE": "Coverage",
205                                 "GCOV_PATH": "gcov-8"
206                         }
207                 },
208                 {
209                         "name": "clang13-release",
210                         "binaryDir": "${sourceDir}/build/${presetName}",
211                         "cacheVariables": {
212                                 "CMAKE_CXX_COMPILER": "clang++-13",
213                                 "CMAKE_C_COMPILER": "clang-13",
214                                 "CMAKE_BUILD_TYPE": "Release"
215                         }
216                 },
217                 {
218                         "name": "clang13-debug",
219                         "binaryDir": "${sourceDir}/build/${presetName}",
220                         "cacheVariables": {
221                                 "CMAKE_CXX_COMPILER": "clang++-13",
222                                 "CMAKE_C_COMPILER": "clang-13",
223                                 "CMAKE_BUILD_TYPE": "Debug"
224                         }
225                 },
226                 {
227                         "name": "clang12-release",
228                         "binaryDir": "${sourceDir}/build/${presetName}",
229                         "cacheVariables": {
230                                 "CMAKE_CXX_COMPILER": "clang++-12",
231                                 "CMAKE_C_COMPILER": "clang-12",
232                                 "CMAKE_BUILD_TYPE": "Release"
233                         }
234                 },
235                 {
236                         "name": "clang12-debug",
237                         "binaryDir": "${sourceDir}/build/${presetName}",
238                         "cacheVariables": {
239                                 "CMAKE_CXX_COMPILER": "clang++-12",
240                                 "CMAKE_C_COMPILER": "clang-12",
241                                 "CMAKE_BUILD_TYPE": "Debug"
242                         }
243                 },
244                 {
245                         "name": "clang11-release",
246                         "binaryDir": "${sourceDir}/build/${presetName}",
247                         "cacheVariables": {
248                                 "CMAKE_CXX_COMPILER": "clang++-11",
249                                 "CMAKE_C_COMPILER": "clang-11",
250                                 "CMAKE_BUILD_TYPE": "Release"
251                         }
252                 },
253                 {
254                         "name": "clang11-debug",
255                         "binaryDir": "${sourceDir}/build/${presetName}",
256                         "cacheVariables": {
257                                 "CMAKE_CXX_COMPILER": "clang++-11",
258                                 "CMAKE_C_COMPILER": "clang-11",
259                                 "CMAKE_BUILD_TYPE": "Debug"
260                         }
261                 },
262                 {
263                         "name": "clang10-release",
264                         "binaryDir": "${sourceDir}/build/${presetName}",
265                         "cacheVariables": {
266                                 "CMAKE_CXX_COMPILER": "clang++-10",
267                                 "CMAKE_C_COMPILER": "clang-10",
268                                 "CMAKE_BUILD_TYPE": "Release"
269                         }
270                 },
271                 {
272                         "name": "clang10-debug",
273                         "binaryDir": "${sourceDir}/build/${presetName}",
274                         "cacheVariables": {
275                                 "CMAKE_CXX_COMPILER": "clang++-10",
276                                 "CMAKE_C_COMPILER": "clang-10",
277                                 "CMAKE_BUILD_TYPE": "Debug"
278                         }
279                 },
280                 {
281                         "name": "clang9-release",
282                         "binaryDir": "${sourceDir}/build/${presetName}",
283                         "cacheVariables": {
284                                 "CMAKE_CXX_COMPILER": "clang++-9",
285                                 "CMAKE_C_COMPILER": "clang-9",
286                                 "CMAKE_BUILD_TYPE": "Release"
287                         }
288                 },
289                 {
290                         "name": "clang9-debug",
291                         "binaryDir": "${sourceDir}/build/${presetName}",
292                         "cacheVariables": {
293                                 "CMAKE_CXX_COMPILER": "clang++-9",
294                                 "CMAKE_C_COMPILER": "clang-9",
295                                 "CMAKE_BUILD_TYPE": "Debug"
296                         }
297                 },
298                 {
299                         "name": "clang8-release",
300                         "binaryDir": "${sourceDir}/build/${presetName}",
301                         "cacheVariables": {
302                                 "CMAKE_CXX_COMPILER": "clang++-8",
303                                 "CMAKE_C_COMPILER": "clang-8",
304                                 "CMAKE_BUILD_TYPE": "Release"
305                         }
306                 },
307                 {
308                         "name": "clang8-debug",
309                         "binaryDir": "${sourceDir}/build/${presetName}",
310                         "cacheVariables": {
311                                 "CMAKE_CXX_COMPILER": "clang++-7",
312                                 "CMAKE_C_COMPILER": "clang-7",
313                                 "CMAKE_BUILD_TYPE": "Debug"
314                         }
315                 },
316                 {
317                         "name": "clang7-release",
318                         "binaryDir": "${sourceDir}/build/${presetName}",
319                         "cacheVariables": {
320                                 "CMAKE_CXX_COMPILER": "clang++-7",
321                                 "CMAKE_C_COMPILER": "clang-7",
322                                 "CMAKE_BUILD_TYPE": "Release"
323                         }
324                 },
325                 {
326                         "name": "clang7-debug",
327                         "binaryDir": "${sourceDir}/build/${presetName}",
328                         "cacheVariables": {
329                                 "CMAKE_CXX_COMPILER": "clang++-7",
330                                 "CMAKE_C_COMPILER": "clang-7",
331                                 "CMAKE_BUILD_TYPE": "Debug"
332                         }
333                 },
334                 {
335                         "name": "clang60-release",
336                         "binaryDir": "${sourceDir}/build/${presetName}",
337                         "cacheVariables": {
338                                 "CMAKE_CXX_COMPILER": "clang++-6.0",
339                                 "CMAKE_C_COMPILER": "clang-6.0",
340                                 "CMAKE_BUILD_TYPE": "Release"
341                         }
342                 },
343                 {
344                         "name": "clang60-debug",
345                         "binaryDir": "${sourceDir}/build/${presetName}",
346                         "cacheVariables": {
347                                 "CMAKE_CXX_COMPILER": "clang++-6.0",
348                                 "CMAKE_C_COMPILER": "clang-6.0",
349                                 "CMAKE_BUILD_TYPE": "Debug"
350                         }
351                 },
352                 {
353                         "name": "clang50-release",
354                         "binaryDir": "${sourceDir}/build/${presetName}",
355                         "cacheVariables": {
356                                 "CMAKE_CXX_COMPILER": "clang++-5.0",
357                                 "CMAKE_C_COMPILER": "clang-5.0",
358                                 "CMAKE_BUILD_TYPE": "Release"
359                         }
360                 },
361                 {
362                         "name": "clang50-debug",
363                         "binaryDir": "${sourceDir}/build/${presetName}",
364                         "cacheVariables": {
365                                 "CMAKE_CXX_COMPILER": "clang++-5.0",
366                                 "CMAKE_C_COMPILER": "clang-5.0",
367                                 "CMAKE_BUILD_TYPE": "Debug"
368                         }
369                 },
370                 {
371                         "name": "clang40-release",
372                         "binaryDir": "${sourceDir}/build/${presetName}",
373                         "cacheVariables": {
374                                 "CMAKE_CXX_COMPILER": "clang++-4.0",
375                                 "CMAKE_C_COMPILER": "clang-4.0",
376                                 "CMAKE_BUILD_TYPE": "Release"
377                         }
378                 },
379                 {
380                         "name": "clang40-debug",
381                         "binaryDir": "${sourceDir}/build/${presetName}",
382                         "cacheVariables": {
383                                 "CMAKE_CXX_COMPILER": "clang++-4.0",
384                                 "CMAKE_C_COMPILER": "clang-4.0",
385                                 "CMAKE_BUILD_TYPE": "Debug"
386                         }
387                 },
388                 {
389                         "name": "clang-release",
390                         "binaryDir": "${sourceDir}/build/${presetName}",
391                         "cacheVariables": {
392                                 "CMAKE_CXX_COMPILER": "clang++",
393                                 "CMAKE_C_COMPILER": "clang",
394                                 "CMAKE_BUILD_TYPE": "Release"
395                         }
396                 },
397                 {
398                         "name": "clang-debug",
399                         "binaryDir": "${sourceDir}/build/${presetName}",
400                         "cacheVariables": {
401                                 "CMAKE_CXX_COMPILER": "clang++",
402                                 "CMAKE_C_COMPILER": "clang",
403                                 "CMAKE_BUILD_TYPE": "Debug"
404                         }
405                 }
406         ],
407         "buildPresets": [
408                 { "name": "gcc11-release",                     "configurePreset": "gcc11-release"                     },
409                 { "name": "gcc11-debug",                       "configurePreset": "gcc11-debug"                       },
410                 { "name": "gcc10-release",                     "configurePreset": "gcc10-release"                     },
411                 { "name": "gcc10-debug",                       "configurePreset": "gcc10-debug"                       },
412                 { "name": "gcc10-arm-linux-gnueabihf-release", "configurePreset": "gcc10-arm-linux-gnueabihf-release" },
413                 { "name": "gcc9-release",                      "configurePreset": "gcc9-release"                      },
414                 { "name": "gcc9-debug",                        "configurePreset": "gcc9-debug"                        },
415                 { "name": "gcc8-release",                      "configurePreset": "gcc8-release"                      },
416                 { "name": "gcc8-debug",                        "configurePreset": "gcc8-debug"                        },
417                 { "name": "gcc7-release",                      "configurePreset": "gcc7-release"                      },
418                 { "name": "gcc7-debug",                        "configurePreset": "gcc7-debug"                        },
419                 { "name": "gcc6-release",                      "configurePreset": "gcc6-release"                      },
420                 { "name": "gcc6-debug",                        "configurePreset": "gcc6-debug"                        },
421                 { "name": "gcc6-release-libonly",              "configurePreset": "gcc6-release-libonly"              },
422                 { "name": "gcc5-release",                      "configurePreset": "gcc5-release"                      },
423                 { "name": "gcc5-debug",                        "configurePreset": "gcc5-debug"                        },
424                 { "name": "gcc-release",                       "configurePreset": "gcc-release"                       },
425                 { "name": "gcc-debug",                         "configurePreset": "gcc-debug"                         },
426                 { "name": "gcc-bench",                         "configurePreset": "gcc-bench"                         },
427                 { "name": "gcc-sanitize",                      "configurePreset": "gcc-sanitize"                      },
428                 { "name": "gcc-coverage",                      "configurePreset": "gcc-coverage"                      },
429                 { "name": "clang13-release",                   "configurePreset": "clang13-release"                   },
430                 { "name": "clang13-debug",                     "configurePreset": "clang13-debug"                     },
431                 { "name": "clang12-release",                   "configurePreset": "clang12-release"                   },
432                 { "name": "clang12-debug",                     "configurePreset": "clang12-debug"                     },
433                 { "name": "clang11-release",                   "configurePreset": "clang11-release"                   },
434                 { "name": "clang11-debug",                     "configurePreset": "clang11-debug"                     },
435                 { "name": "clang10-release",                   "configurePreset": "clang10-release"                   },
436                 { "name": "clang10-debug",                     "configurePreset": "clang10-debug"                     },
437                 { "name": "clang9-release",                    "configurePreset": "clang9-release"                    },
438                 { "name": "clang9-debug",                      "configurePreset": "clang9-debug"                      },
439                 { "name": "clang8-release",                    "configurePreset": "clang8-release"                    },
440                 { "name": "clang8-debug",                      "configurePreset": "clang8-debug"                      },
441                 { "name": "clang7-release",                    "configurePreset": "clang7-release"                    },
442                 { "name": "clang7-debug",                      "configurePreset": "clang7-debug"                      },
443                 { "name": "clang60-release",                   "configurePreset": "clang60-release"                   },
444                 { "name": "clang60-debug",                     "configurePreset": "clang60-debug"                     },
445                 { "name": "clang50-release",                   "configurePreset": "clang50-release"                   },
446                 { "name": "clang50-debug",                     "configurePreset": "clang50-debug"                     },
447                 { "name": "clang40-release",                   "configurePreset": "clang40-release"                   },
448                 { "name": "clang40-debug",                     "configurePreset": "clang40-debug"                     },
449                 { "name": "clang-release",                     "configurePreset": "clang-release"                     },
450                 { "name": "clang-debug",                       "configurePreset": "clang-debug"                       }
451         ]