implement passL and passC for the compilation cache
This commit is contained in:
parent
8e9551b1c7
commit
2662d713f7
3 changed files with 13 additions and 8 deletions
|
|
@ -789,6 +789,10 @@ proc replay(g: ModuleGraph; module: PSym; n: PNode) =
|
|||
extccomp.addExternalFileToCompile(g.config, cf)
|
||||
of "link":
|
||||
extccomp.addExternalFileToLink(g.config, n[1].strVal)
|
||||
of "passl":
|
||||
extccomp.addLinkOption(g.config, n[1].strVal)
|
||||
of "passc":
|
||||
extccomp.addCompileOption(g.config, n[1].strVal)
|
||||
of "inc":
|
||||
let destKey = n[1].strVal
|
||||
let by = n[2].intVal
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue