|
23 | 23 | "FETCHCONTENT_TRY_FIND_PACKAGE_MODE": "NEVER" |
24 | 24 | } |
25 | 25 | }, |
26 | | -{ "name": "no-build", "inherits": "default", |
27 | | - "displayName": "Don't build HDF5 and ZLib from source with h5fortran if not found", |
| 26 | +{ "name": "no-build-hdf5", "inherits": "default", |
| 27 | + "displayName": "Don't build HDF5 and ZLib from source if not found", |
28 | 28 | "cacheVariables": { |
29 | | - "FETCHCONTENT_TRY_FIND_PACKAGE_MODE": "ALWAYS", |
30 | | - "FETCHCONTENT_FULLY_DISCONNECTED": true |
| 29 | + "h5fortran_hdf5_nobuild": true |
31 | 30 | } |
32 | 31 | }, |
33 | 32 | { "name": "debug", "inherits": "default", |
|
67 | 66 | "buildPresets": [ |
68 | 67 | { "name": "default", "configurePreset": "default" }, |
69 | 68 | { "name": "build", "configurePreset": "build", "inherits": "default" }, |
| 69 | + { "name": "no-build-hdf5", "configurePreset": "no-build-hdf5", "inherits": "default" }, |
70 | 70 | { "name": "shared", "configurePreset": "shared", "inherits": "default" }, |
71 | 71 | { |
72 | 72 | "name": "explain", |
|
137 | 137 | { "type": "build", "name": "build" } |
138 | 138 | ] |
139 | 139 | }, |
| 140 | + { |
| 141 | + "name": "no-build-hdf5", |
| 142 | + "displayName": "Don't build HDF5 and ZLib from source if not found", |
| 143 | + "steps": [ |
| 144 | + { "type": "configure", "name": "no-build-hdf5" }, |
| 145 | + { "type": "build", "name": "no-build-hdf5" } |
| 146 | + ] |
| 147 | + }, |
140 | 148 | { |
141 | 149 | "name": "debug", |
142 | 150 | "displayName": "Build and Test in Debug mode", |
|
0 commit comments