|
1 | 1 | { |
2 | | -"version": 1, |
3 | | -"cmakeMinimumRequired": { |
4 | | -"major": 3, |
5 | | -"minor": 19, |
6 | | -"patch": 0 |
| 2 | + "version": 2, |
| 3 | + "cmakeMinimumRequired": { |
| 4 | + "major": 3, |
| 5 | + "minor": 20, |
| 6 | + "patch": 0 |
7 | 7 | }, |
8 | 8 |
|
9 | 9 | "configurePresets": [ |
10 | 10 | { |
11 | | - "name": "_default", "hidden": true, |
| 11 | + "name": "default", |
12 | 12 | "binaryDir": "${sourceDir}/build", |
| 13 | + "generator": "Ninja", |
13 | 14 | "cacheVariables": {"CMAKE_BUILD_TYPE": "Release"} |
14 | 15 | }, |
15 | 16 | { |
16 | | - "name": "ninja", "inherits": "_default", |
17 | | - "displayName": "build with Ninja", |
18 | | - "description": "Ninja is faster and more reliable than Make", |
19 | | - "generator": "Ninja" |
20 | | -}, |
21 | | -{ |
22 | | - "name": "gcc10", "inherits": "ninja", |
23 | | - "displayName": "GCC-10", |
24 | | - "description": "specify GCC version -- helpful for MacOS Homebrew to avoid Clang /usr/bin/gcc", |
25 | | - "environment": { |
26 | | - "CC": "gcc-10", |
27 | | - "CXX": "g++-10", |
28 | | - "FC": "gfortran-10" |
29 | | - } |
30 | | -}, |
31 | | -{ |
32 | | - "name": "make", "inherits": "_default", |
33 | | - "displayName": "build with GNU Make: Linux/MacOS", |
34 | | - "description": "build with GNU Make on Linux/MacOS", |
| 17 | + "name": "make", "inherits": "default", |
| 18 | + "displayName": "build with GNU Make", |
35 | 19 | "generator": "Unix Makefiles" |
36 | 20 | }, |
37 | 21 | { |
38 | | - "name": "makegcc10", "inherits": ["make", "gcc10"], |
39 | | - "displayName": "build with GNU Make and GCC", |
40 | | - "description": "build with GNU Make and GCC -- useful for MacOS" |
41 | | -}, |
42 | | -{ |
43 | | - "name": "makewin", "inherits": "_default", |
| 22 | + "name": "makewin", "inherits": "default", |
44 | 23 | "displayName": "build with GNU Make: Windows", |
45 | | - "description": "build with GNU Make on Windows", |
46 | 24 | "generator": "MinGW Makefiles" |
47 | 25 | }, |
48 | 26 | { |
49 | | - "name": "intel", "inherits": "ninja", |
| 27 | + "name": "intel", "inherits": "default", |
50 | 28 | "displayName": "Intel Classic compiler: Linux/MacOS", |
51 | | - "description": "build with Intel Classic on Linux/MacOS", |
52 | 29 | "environment": { |
53 | 30 | "CC": "icc", |
54 | 31 | "CXX": "icpc", |
|
60 | 37 | { |
61 | 38 | "name": "intelwin", "inherits": "intel", |
62 | 39 | "displayName": "Intel Classic compiler: Windows", |
63 | | - "description": "build with Intel Classic on Windows", |
64 | 40 | "environment": { |
65 | 41 | "CC": "icl", |
66 | 42 | "CXX": "icl" |
|
69 | 45 | { |
70 | 46 | "name": "intelnext", "inherits": "intel", |
71 | 47 | "displayName": "Intel oneAPI LLVM", |
72 | | - "description": "build with Intel oneAPI NextGen LLVM", |
73 | 48 | "environment": { |
74 | 49 | "CC": "icx", |
75 | 50 | "CXX": "icx", |
76 | 51 | "FC": "ifx" |
77 | 52 | } |
78 | 53 | } |
79 | | - |
| 54 | +], |
| 55 | +"buildPresets": [ |
| 56 | + { |
| 57 | + "name": "default", |
| 58 | + "configurePreset": "default" |
| 59 | + } |
| 60 | +], |
| 61 | +"testPresets": [ |
| 62 | +{ |
| 63 | + "name": "default", |
| 64 | + "configurePreset": "default", |
| 65 | + "output": { |
| 66 | + "outputOnFailure": true, |
| 67 | + "verbosity": "default" |
| 68 | + }, |
| 69 | + "execution": { |
| 70 | + "noTestsAction": "error", |
| 71 | + "stopOnFailure": false} |
| 72 | +} |
80 | 73 | ] |
81 | | - |
82 | | - |
83 | | - |
84 | 74 | } |
0 commit comments