Added icons support for Visual Studio compiler
This commit is contained in:
parent
abf4e204c2
commit
77ba8cb8bb
6 changed files with 10 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
BIN
icons/koch-amd64-windows-vcc.res
Normal file
BIN
icons/koch-amd64-windows-vcc.res
Normal file
Binary file not shown.
BIN
icons/koch-i386-windows-vcc.res
Normal file
BIN
icons/koch-i386-windows-vcc.res
Normal file
Binary file not shown.
BIN
icons/nim-amd64-windows-vcc.res
Normal file
BIN
icons/nim-amd64-windows-vcc.res
Normal file
Binary file not shown.
BIN
icons/nim-i386-windows-vcc.res
Normal file
BIN
icons/nim-i386-windows-vcc.res
Normal file
Binary file not shown.
5
koch.nim
5
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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue