|
2 | 2 | "version": 3, |
3 | 3 |
|
4 | 4 | "configurePresets": [ |
| 5 | +{ |
| 6 | + "name": "multi", |
| 7 | + "binaryDir": "${sourceDir}/build", |
| 8 | + "displayName": "Ninja Multi-Config", |
| 9 | + "generator": "Ninja Multi-Config" |
| 10 | +}, |
5 | 11 | { |
6 | 12 | "name": "coverage", |
7 | 13 | "binaryDir": "${sourceDir}/build-coverage", |
|
17 | 23 | } |
18 | 24 | ], |
19 | 25 | "buildPresets": [ |
| 26 | + { |
| 27 | + "name": "release", |
| 28 | + "configurePreset": "multi", |
| 29 | + "configuration": "Release" |
| 30 | + }, |
| 31 | + { |
| 32 | + "name": "reldebug", |
| 33 | + "configurePreset": "multi", |
| 34 | + "configuration": "RelWithDebInfo", |
| 35 | + "displayName": "Release with Debug Info" |
| 36 | + }, |
| 37 | + { |
| 38 | + "name": "debug", |
| 39 | + "configurePreset": "multi", |
| 40 | + "configuration": "Debug" |
| 41 | + }, |
20 | 42 | { |
21 | 43 | "name": "coverage", |
22 | 44 | "configurePreset": "coverage" |
|
41 | 63 | "stopOnFailure": false, |
42 | 64 | "timeout": 10 |
43 | 65 | } |
| 66 | +}, |
| 67 | +{ |
| 68 | + "name": "release", "inherits": "default", |
| 69 | + "configurePreset": "multi", |
| 70 | + "configuration": "Release" |
| 71 | +}, |
| 72 | +{ |
| 73 | + "name": "reldebug", "inherits": "default", |
| 74 | + "configurePreset": "multi", |
| 75 | + "configuration": "RelWithDebInfo", |
| 76 | + "displayName": "Release with Debug Info" |
| 77 | +}, |
| 78 | +{ |
| 79 | + "name": "debug", "inherits": "default", |
| 80 | + "configurePreset": "multi", |
| 81 | + "configuration": "Debug" |
44 | 82 | } |
45 | 83 | ] |
46 | 84 | } |
0 commit comments