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