diff options
author | Araq <rumpf_a@web.de> | 2017-03-21 12:03:59 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2017-03-21 12:04:14 +0100 |
commit | d862d22723885e2d0f9ac9b58cafcb30e191cda2 (patch) | |
tree | 1590e0857676b15935b7853d7d209c4c911ff476 /koch.nim | |
parent | 8310d252c27219f97980aff501b6ddd6de16eab2 (diff) | |
download | Nim-d862d22723885e2d0f9ac9b58cafcb30e191cda2.tar.gz |
koch: vcc is also built with 'koch tools'
Diffstat (limited to 'koch.nim')
-rw-r--r-- | koch.nim | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/koch.nim b/koch.nim index f5e4d3ee3..6eee09b7b 100644 --- a/koch.nim +++ b/koch.nim @@ -218,11 +218,14 @@ proc bundleNimsuggest(buildExe: bool) = copyExe("nimsuggest/nimsuggest".exe, "bin/nimsuggest".exe) removeFile("nimsuggest/nimsuggest".exe) +proc buildVccTool() = + nimexec("c -o:bin/vccexe.exe tools/vccenv/vccexe") + proc bundleWinTools() = nimexec("c tools/finish.nim") copyExe("tools/finish".exe, "finish".exe) removeFile("tools/finish".exe) - nimexec("c -o:bin/vccexe.exe tools/vccenv/vccexe") + buildVccTool() nimexec("c -o:bin/nimgrab.exe -d:ssl tools/nimgrab.nim") when false: # not yet a tool worth including @@ -257,6 +260,7 @@ proc buildTools(latest: bool) = let nimgrepExe = "bin/nimgrep".exe nimexec "c -o:" & nimgrepExe & " tools/nimgrep.nim" + when defined(windows): buildVccTool() buildNimble(latest) proc nsis(args: string) = |