diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2016-10-24 18:39:32 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-24 18:39:32 +0200 |
commit | fbb997a24fe1bfdb4ffc21e6fe7b7634fbb94276 (patch) | |
tree | 81794f2128ebb4496f745dc1b6d659171cf45e69 | |
parent | adeb62120c841adfec4c167bab8a2d5edfc4893f (diff) | |
parent | 77ba8cb8bbbf1df845e407714024bccd8434293d (diff) | |
download | Nim-fbb997a24fe1bfdb4ffc21e6fe7b7634fbb94276.tar.gz |
Merge pull request #4838 from couven92/ico-vcc
Added icons support for Visual Studio compiler
-rw-r--r-- | compiler/nim.nim | 5 | ||||
-rw-r--r-- | icons/koch-amd64-windows-vcc.res | bin | 0 -> 5572 bytes | |||
-rw-r--r-- | icons/koch-i386-windows-vcc.res | bin | 0 -> 5572 bytes | |||
-rw-r--r-- | icons/nim-amd64-windows-vcc.res | bin | 0 -> 30548 bytes | |||
-rw-r--r-- | icons/nim-i386-windows-vcc.res | bin | 0 -> 30548 bytes | |||
-rw-r--r-- | koch.nim | 5 |
6 files changed, 10 insertions, 0 deletions
diff --git a/compiler/nim.nim b/compiler/nim.nim index a58afd593..0afefa853 100644 --- a/compiler/nim.nim +++ b/compiler/nim.nim @@ -13,6 +13,11 @@ when defined(gcc) and defined(windows): else: {.link: "icons/nim_icon.o".} +when defined(amd64) and defined(windows) and defined(vcc): + {.link: "icons/nim-amd64-windows-vcc.res" .} +when defined(i386) and defined(windows) and defined(vcc): + {.link: "icons/nim-i386-windows-vcc.res" .} + import commands, lexer, condsyms, options, msgs, nversion, nimconf, ropes, extccomp, strutils, os, osproc, platform, main, parseopt, service, diff --git a/icons/koch-amd64-windows-vcc.res b/icons/koch-amd64-windows-vcc.res new file mode 100644 index 000000000..90d7d1f7a --- /dev/null +++ b/icons/koch-amd64-windows-vcc.res Binary files differdiff --git a/icons/koch-i386-windows-vcc.res b/icons/koch-i386-windows-vcc.res new file mode 100644 index 000000000..90d7d1f7a --- /dev/null +++ b/icons/koch-i386-windows-vcc.res Binary files differdiff --git a/icons/nim-amd64-windows-vcc.res b/icons/nim-amd64-windows-vcc.res new file mode 100644 index 000000000..b2d8fc9eb --- /dev/null +++ b/icons/nim-amd64-windows-vcc.res Binary files differdiff --git a/icons/nim-i386-windows-vcc.res b/icons/nim-i386-windows-vcc.res new file mode 100644 index 000000000..b2d8fc9eb --- /dev/null +++ b/icons/nim-i386-windows-vcc.res Binary files differdiff --git a/koch.nim b/koch.nim index b50691d0d..a3f5fb3de 100644 --- a/koch.nim +++ b/koch.nim @@ -15,6 +15,11 @@ when defined(gcc) and defined(windows): else: {.link: "icons/koch_icon.o".} +when defined(amd64) and defined(windows) and defined(vcc): + {.link: "icons/koch-amd64-windows-vcc.res" .} +when defined(i386) and defined(windows) and defined(vcc): + {.link: "icons/koch-i386-windows-vcc.res" .} + import os, strutils, parseopt, osproc, streams |