()
| 198 | |
| 199 | |
| 200 | def get_extra_args(): |
| 201 | try: |
| 202 | with open(ARGS_PATH) as f: |
| 203 | args = json.load(f) |
| 204 | except (IOError, OSError): |
| 205 | return [] |
| 206 | if 'metal' in args: |
| 207 | return ['/metal', str((Path(ARGS_PATH).parent / args['metal']).resolve())] |
| 208 | return [] |
| 209 | |
| 210 | |
| 211 | def build(paths, vcs, incremental, platforms=SUPPORTED_PLATFORMS, shader_models=tuple(SHADER_MODELS), |