()
| 76 | print(f"{arch}: added {added} compile commands") |
| 77 | |
| 78 | def UpdateCompileCommands(): |
| 79 | print(">>> Updating compile_commands.json...") |
| 80 | combined = {} |
| 81 | AddTargetsForArch("x64", combined) |
| 82 | AddTargetsForArch("arm64", combined) |
| 83 | if DEFAULT_ARCH != "arm64": |
| 84 | # Mac arm64 doesn't like 32bit platforms: |
| 85 | AddTargetsForArch("ia32", combined) |
| 86 | AddTargetsForArch("arm", combined) |
| 87 | commands = [] |
| 88 | for key in combined: |
| 89 | commands.append(combined[key]) |
| 90 | _Write("compile_commands.json", json.dumps(commands, indent=2)) |
| 91 | |
| 92 | def CompileLanguageServer(): |
| 93 | print(">>> Compiling Torque Language Server...") |
no test coverage detected