diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2016-12-17 14:22:58 +0100 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2016-12-17 14:22:58 +0100 |
commit | 9ac76b49c0f5f13b7f4095fc436aabbb7385be30 (patch) | |
tree | cf85db7680e3b3448195ad50eda0795831f70e56 /compiler/main.nim | |
parent | b0134309292e41a9b29777b5bdd79f2a1278a03d (diff) | |
parent | 4fcb6c02659997914d0a78a86e9ad2642edcc07a (diff) | |
download | Nim-9ac76b49c0f5f13b7f4095fc436aabbb7385be30.tar.gz |
Merge branch 'devel' of github.com:nim-lang/Nim into devel
Diffstat (limited to 'compiler/main.nim')
-rw-r--r-- | compiler/main.nim | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/compiler/main.nim b/compiler/main.nim index 2118078be..5896934ce 100644 --- a/compiler/main.nim +++ b/compiler/main.nim @@ -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) |