|
8 | 8 | "cacheVariables": { |
9 | 9 | "h5fortran_warning_as_error": true, |
10 | 10 | "h5fortran_BUILD_TESTING": true, |
11 | | - "h5fortran_find": true, |
12 | 11 | "h5fortran_python": true, |
13 | 12 | "CMAKE_BUILD_TYPE": "Release" |
14 | 13 | } |
15 | 14 | }, |
16 | 15 | { "name": "build", "inherits": "default", |
| 16 | + "displayName": "Build HDF5 and ZLib from source with h5fortran", |
17 | 17 | "cacheVariables": { |
18 | 18 | "h5fortran_BUILD_TESTING": false, |
19 | | - "h5fortran_find": false |
| 19 | + "FETCHCONTENT_TRY_FIND_PACKAGE_MODE": "NEVER" |
20 | 20 | } |
21 | 21 | }, |
22 | 22 | { "name": "debug", "inherits": "default", |
|
28 | 28 | { |
29 | 29 | "name": "reldebug", "inherits": "default", |
30 | 30 | "binaryDir": "build", |
31 | | - "displayName": "release with debug info", |
| 31 | + "displayName": "Release with Debug Info", |
32 | 32 | "cacheVariables": { |
33 | 33 | "CMAKE_BUILD_TYPE": "RelWithDebInfo" |
34 | 34 | } |
|
39 | 39 | "cacheVariables": { |
40 | 40 | "BUILD_SHARED_LIBS": true, |
41 | 41 | "h5fortran_ENABLE_RPATH": true, |
42 | | - "h5fortran_find": false |
43 | | - } |
44 | | -}, |
45 | | -{ |
46 | | - "name": "nofind", "inherits": "reldebug", |
47 | | - "binaryDir": "build-nofind", |
48 | | - "displayName": "don't find HDF5 or Zlib", |
49 | | - "cacheVariables": { |
50 | | - "h5fortran_find": false |
| 42 | + "FETCHCONTENT_TRY_FIND_PACKAGE_MODE": "NEVER" |
51 | 43 | } |
52 | 44 | }, |
53 | 45 | { |
|
64 | 56 | "buildPresets": [ |
65 | 57 | { "name": "default", "configurePreset": "default", "jobs": 0 }, |
66 | 58 | { "name": "build", "configurePreset": "build", "inherits": "default" }, |
67 | | - { "name": "nofind", "configurePreset": "nofind", "inherits": "default" }, |
68 | 59 | { "name": "shared", "configurePreset": "shared", "inherits": "default" }, |
69 | 60 | { |
70 | 61 | "name": "explain", |
|
81 | 72 | "configurePreset": "default", |
82 | 73 | "nativeToolOptions": ["-d", "stats"] |
83 | 74 | }, |
84 | | - { "name": "release","configurePreset": "default" }, |
85 | 75 | { |
86 | 76 | "name": "reldebug", |
87 | 77 | "configurePreset": "reldebug", |
|
111 | 101 | "timeout": 60 |
112 | 102 | } |
113 | 103 | }, |
114 | | -{ "name": "nofind", "configurePreset": "nofind", "inherits": "default" }, |
115 | 104 | { "name": "shared", "configurePreset": "shared", "inherits": "default" }, |
116 | | -{ "name": "release", "inherits": "default" }, |
117 | 105 | { |
118 | 106 | "name": "reldebug", "inherits": "default", |
119 | 107 | "configurePreset": "reldebug", |
|
124 | 112 | "workflowPresets": [ |
125 | 113 | { |
126 | 114 | "name": "default", |
| 115 | + "displayName": "Build and Test in Release mode", |
127 | 116 | "steps": [ |
128 | 117 | { "type": "configure", "name": "default" }, |
129 | 118 | { "type": "build", "name": "default" }, |
|
132 | 121 | }, |
133 | 122 | { |
134 | 123 | "name": "build", |
| 124 | + "displayName": "Build HDF5 and ZLib from source with h5fortran", |
135 | 125 | "steps": [ |
136 | 126 | { "type": "configure", "name": "build" }, |
137 | 127 | { "type": "build", "name": "build" } |
138 | 128 | ] |
139 | 129 | }, |
140 | 130 | { |
141 | 131 | "name": "debug", |
| 132 | + "displayName": "Build and Test in Debug mode", |
142 | 133 | "steps": [ |
143 | 134 | { "type": "configure", "name": "debug" }, |
144 | 135 | { "type": "build", "name": "debug" }, |
|
147 | 138 | }, |
148 | 139 | { |
149 | 140 | "name": "reldebug", |
| 141 | + "displayName": "Build and Test in Release with Debug Info mode", |
150 | 142 | "steps": [ |
151 | 143 | { "type": "configure", "name": "reldebug" }, |
152 | 144 | { "type": "build", "name": "reldebug" }, |
153 | 145 | { "type": "test", "name": "reldebug" } |
154 | 146 | ] |
155 | 147 | }, |
156 | | - { |
157 | | - "name": "release", |
158 | | - "steps": [ |
159 | | - { "type": "configure", "name": "default" }, |
160 | | - { "type": "build", "name": "release" }, |
161 | | - { "type": "test", "name": "release" } |
162 | | - ] |
163 | | - }, |
164 | 148 | { |
165 | 149 | "name": "shared", |
| 150 | + "displayName": "Build and Test shared libraries", |
166 | 151 | "steps": [ |
167 | 152 | { "type": "configure", "name": "shared" }, |
168 | 153 | { "type": "build", "name": "shared" }, |
169 | 154 | { "type": "test", "name": "shared" } |
170 | 155 | ] |
171 | | - }, |
172 | | - { |
173 | | - "name": "nofind", |
174 | | - "steps": [ |
175 | | - { "type": "configure", "name": "nofind" }, |
176 | | - { "type": "build", "name": "nofind" }, |
177 | | - { "type": "test", "name": "nofind" } |
178 | | - ] |
179 | 156 | } |
180 | 157 | ] |
181 | 158 | } |
0 commit comments