make the new --genDeps feature optional since it makes compilations slower
This commit is contained in:
parent
5516fee1a7
commit
da90657317
3 changed files with 4 additions and 2 deletions
|
|
@ -80,7 +80,8 @@ proc commandCompileToC(graph: ModuleGraph; cache: IdentCache) =
|
|||
let proj = changeFileExt(gProjectFull, "")
|
||||
extccomp.callCCompiler(proj)
|
||||
extccomp.writeJsonBuildInstructions(proj)
|
||||
writeDepsFile(graph, toGeneratedFile(proj, ""))
|
||||
if optGenScript in gGlobalOptions:
|
||||
writeDepsFile(graph, toGeneratedFile(proj, ""))
|
||||
|
||||
proc commandJsonScript(graph: ModuleGraph; cache: IdentCache) =
|
||||
let proj = changeFileExt(gProjectFull, "")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue