|
5 | 5 | { |
6 | 6 | "name": "default", |
7 | 7 | "binaryDir": "build", |
| 8 | + "generator": "Ninja", |
8 | 9 | "cacheVariables": { |
9 | 10 | "CMAKE_BUILD_TYPE": "Release", |
10 | 11 | "CMAKE_COMPILE_WARNING_AS_ERROR": true, |
11 | 12 | "CMAKE_LINK_WARNING_AS_ERROR": true |
12 | 13 | } |
13 | 14 | }, |
14 | | -{ "name": "ninja", "inherits": "default", |
15 | | - "generator": "Ninja" |
16 | | -}, |
17 | 15 | { "name": "gmake", "inherits": "default", |
18 | 16 | "generator": "Unix Makefiles" |
19 | 17 | }, |
20 | | -{ "name": "build", "inherits": "default"}, |
21 | 18 | { |
22 | 19 | "name": "debug", "inherits": "default", |
23 | 20 | "cacheVariables": { |
|
37 | 34 | } |
38 | 35 | ], |
39 | 36 | "buildPresets": [ |
40 | | - { "name": "default", "configurePreset": "default", "configuration": "Release", "jobs": 0 }, |
41 | | - { "name": "build", "inherits": "default", "configurePreset": "build" }, |
| 37 | + { "name": "default", "configurePreset": "default", "configuration": "Release"}, |
42 | 38 | { "name": "msvc", "inherits": "default", "configurePreset": "msvc" }, |
43 | 39 | { "name": "debug", "inherits": "default", "configurePreset": "debug", "configuration": "Debug" }, |
44 | 40 | { "name": "reldebug", "inherits": "default", "configurePreset": "reldebug", "configuration": "RelWithDebInfo" }, |
45 | | - { "name": "ninja", "configurePreset": "ninja" }, |
46 | | - { "name": "gmake", "inherits": "default", "configurePreset": "gmake" } |
| 41 | + { "name": "gmake", "inherits": "default", "configurePreset": "gmake", "jobs": 4 } |
47 | 42 | ], |
48 | 43 | "testPresets": [ |
49 | 44 | { |
|
73 | 68 | "configurePreset": "debug", |
74 | 69 | "configuration": "Debug" |
75 | 70 | }, |
76 | | -{ "name": "ninja", "configurePreset": "ninja" }, |
77 | 71 | { "name": "gmake", "configurePreset": "gmake" } |
78 | 72 | ], |
79 | 73 | "workflowPresets": [ |
80 | | - { |
81 | | - "name": "default", |
82 | | - "displayName": "build and test", |
83 | | - "steps": [ |
| 74 | + { "name": "default", "displayName": "build and test", "steps": [ |
84 | 75 | { "type": "configure", "name": "default" }, |
85 | 76 | { "type": "build", "name": "default" }, |
86 | | - { "type": "test", "name": "default" } |
87 | | - ] |
88 | | - }, |
89 | | - { |
90 | | - "name": "build", |
91 | | - "displayName": "build only", |
92 | | - "steps": [ |
93 | | - { "type": "configure", "name": "build" }, |
94 | | - { "type": "build", "name": "build" } |
95 | | - ] |
96 | | - }, |
97 | | - { |
98 | | - "name": "debug", |
99 | | - "displayName": "Debug build and test", |
100 | | - "steps": [ |
| 77 | + { "type": "test", "name": "default" } ] }, |
| 78 | + { "name": "build", "displayName": "build only", "steps": [ |
| 79 | + { "type": "configure", "name": "default" }, |
| 80 | + { "type": "build", "name": "default" } ] }, |
| 81 | + { "name": "debug", "displayName": "Debug build and test", "steps": [ |
101 | 82 | { "type": "configure", "name": "debug" }, |
102 | 83 | { "type": "build", "name": "debug" }, |
103 | | - { "type": "test", "name": "debug" } |
104 | | - ] |
105 | | - }, |
106 | | - { |
107 | | - "name": "msvc", |
108 | | - "displayName": "MSVC build and test", |
109 | | - "steps": [ |
| 84 | + { "type": "test", "name": "debug" } ] }, |
| 85 | + { "name": "msvc", "displayName": "MSVC build and test", "steps": [ |
110 | 86 | { "type": "configure", "name": "msvc" }, |
111 | 87 | { "type": "build", "name": "msvc" }, |
112 | | - { "type": "test", "name": "msvc" } |
113 | | - ] |
114 | | - }, |
115 | | - { |
116 | | - "name": "ninja", |
117 | | - "displayName": "Ninja build and test", |
118 | | - "steps": [ |
119 | | - { "type": "configure", "name": "ninja" }, |
120 | | - { "type": "build", "name": "ninja" }, |
121 | | - { "type": "test", "name": "ninja" } |
122 | | - ] |
123 | | - }, |
124 | | - { |
125 | | - "name": "gmake", |
126 | | - "displayName": "GNU Make build and test", |
127 | | - "steps": [ |
| 88 | + { "type": "test", "name": "msvc" } ] }, |
| 89 | + { "name": "gmake", "displayName": "GNU Make build and test", "steps": [ |
128 | 90 | { "type": "configure", "name": "gmake" }, |
129 | 91 | { "type": "build", "name": "gmake" }, |
130 | | - { "type": "test", "name": "gmake" } |
131 | | - ] |
| 92 | + { "type": "test", "name": "gmake" } ] |
132 | 93 | } |
133 | 94 | ] |
134 | 95 | } |
0 commit comments