| 1 | { |
| 2 | "version": 3, |
| 3 | "configurePresets": [ |
| 4 | { |
| 5 | "name": "defaults", |
| 6 | "hidden": true, |
| 7 | "binaryDir": "${sourceDir}/builds/${presetName}" |
| 8 | }, |
| 9 | { |
| 10 | "name": "win", |
| 11 | "inherits": "defaults", |
| 12 | "generator": "Ninja Multi-Config", |
| 13 | "condition": { |
| 14 | "type": "equals", |
| 15 | "lhs": "${hostSystemName}", |
| 16 | "rhs": "Windows" |
| 17 | }, |
| 18 | "cacheVariables": { |
| 19 | "VCPKG_TARGET_TRIPLET": "x64-windows-static-md" |
| 20 | }, |
| 21 | "architecture": { |
| 22 | "strategy": "external", |
| 23 | "value": "x64" |
| 24 | } |
| 25 | }, |
| 26 | { |
| 27 | "name": "mac", |
| 28 | "inherits": "defaults", |
| 29 | "generator": "Ninja Multi-Config", |
| 30 | "condition": { |
| 31 | "type": "equals", |
| 32 | "lhs": "${hostSystemName}", |
| 33 | "rhs": "Darwin" |
| 34 | } |
| 35 | }, |
| 36 | { |
| 37 | "name": "linux", |
| 38 | "inherits": "defaults", |
| 39 | "generator": "Ninja Multi-Config", |
| 40 | "condition": { |
| 41 | "type": "equals", |
| 42 | "lhs": "${hostSystemName}", |
| 43 | "rhs": "Linux" |
| 44 | } |
| 45 | } |
| 46 | ], |
| 47 | "buildPresets": [ |
| 48 | { |
| 49 | "name": "win", |
| 50 | "configurePreset": "win" |
| 51 | }, |
| 52 | { |
| 53 | "name": "mac", |
| 54 | "configurePreset": "mac" |
| 55 | }, |
| 56 | { |
| 57 | "name": "linux", |
| 58 | "configurePreset": "linux" |
| 59 | } |
| 60 | ], |
| 61 | "testPresets": [ |
| 62 | { |
| 63 | "name": "defaults", |
| 64 | "hidden": true, |
| 65 | "output": { |
| 66 | "outputOnFailure": true |
| 67 | } |
| 68 | }, |
| 69 | { |
| 70 | "name": "win", |
| 71 | "inherits": "defaults", |
| 72 | "description": "Testing under Windows x64", |
| 73 | "configurePreset": "win" |
| 74 | }, |
| 75 | { |
| 76 | "name": "mac", |
| 77 | "inherits": "defaults", |
| 78 | "description": "Testing under macOS", |
| 79 | "configurePreset": "mac" |
| 80 | }, |
| 81 | { |
| 82 | "name": "linux", |
| 83 | "inherits": "defaults", |
| 84 | "description": "Testing under Linux", |
| 85 | "configurePreset": "linux" |
| 86 | } |
| 87 | ] |
| 88 | } |