summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorFredrik Høisæther Rasch <fredrik.rasch@gmail.com>2016-09-30 19:43:38 +0200
committerFredrik Høisæther Rasch <fredrik.rasch@gmail.com>2016-09-30 19:43:38 +0200
commit77ba8cb8bbbf1df845e407714024bccd8434293d (patch)
treeb31dbf56d9342eb2cb230b2becdcbe29746d29b9
parentabf4e204c2f1a8a6915a8d32c970b5ce64f58e10 (diff)
downloadNim-77ba8cb8bbbf1df845e407714024bccd8434293d.tar.gz
Added icons support for Visual Studio compiler
-rw-r--r--compiler/nim.nim5
-rw-r--r--icons/koch-amd64-windows-vcc.resbin0 -> 5572 bytes
-rw-r--r--icons/koch-i386-windows-vcc.resbin0 -> 5572 bytes
-rw-r--r--icons/nim-amd64-windows-vcc.resbin0 -> 30548 bytes
-rw-r--r--icons/nim-i386-windows-vcc.resbin0 -> 30548 bytes
-rw-r--r--koch.nim5
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 9ccc752c0..97f6a0c8e 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