record cppdefine for incremental compilation
This commit is contained in:
parent
2662d713f7
commit
8db27d30e6
3 changed files with 5 additions and 3 deletions
|
|
@ -793,6 +793,8 @@ proc replay(g: ModuleGraph; module: PSym; n: PNode) =
|
|||
extccomp.addLinkOption(g.config, n[1].strVal)
|
||||
of "passc":
|
||||
extccomp.addCompileOption(g.config, n[1].strVal)
|
||||
of "cppdefine":
|
||||
options.cppDefine(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