Nim compiler generates nimcache/proj.json for easier interop with external build tools
This commit is contained in:
parent
30df922409
commit
aedafb9978
2 changed files with 104 additions and 43 deletions
|
|
@ -66,7 +66,9 @@ proc commandCompileToC(graph: ModuleGraph; cache: IdentCache) =
|
|||
compileProject(graph, cache)
|
||||
cgenWriteModules()
|
||||
if gCmd != cmdRun:
|
||||
extccomp.callCCompiler(changeFileExt(gProjectFull, ""))
|
||||
let proj = changeFileExt(gProjectFull, "")
|
||||
extccomp.callCCompiler(proj)
|
||||
extccomp.writeJsonBuildInstructions(proj)
|
||||
|
||||
proc commandCompileToJS(graph: ModuleGraph; cache: IdentCache) =
|
||||
#incl(gGlobalOptions, optSafeCode)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue