Meta: Refactor the IPC-compiler and port it to LibMain

This does a few things in total:
* Ports the IPC-compiler to LibMain
* Extract some compiler steps into separate functions
* Minify some appends to use appendln (or appendff in the case of
  StringBuilder)

This reduces the clang-tidies maximum cognitive-complexity score for
this file from 325 to under 100.
This commit is contained in:
Hendiadyoin1 2022-02-22 19:24:30 +01:00 committed by Andreas Kling
parent 50b6e74d33
commit bd6927ecab
Notes: sideshowbarker 2024-07-17 20:19:08 +09:00
2 changed files with 428 additions and 478 deletions

View file

@ -2,4 +2,4 @@ set(SOURCES
main.cpp
)
lagom_tool(IPCCompiler)
lagom_tool(IPCCompiler LIBS LagomMain)

File diff suppressed because it is too large Load diff