summary refs log tree commit diff stats
path: root/config/nim.cfg
diff options
context:
space:
mode:
authorFredrik Høisæther Rasch <fredrik.rasch@gmail.com>2016-10-25 21:17:18 +0200
committerFredrik Høisæther Rasch <fredrik.rasch@gmail.com>2016-10-25 21:17:18 +0200
commitd94bb4a0e188d38dcb393566978c3cae20b6d82f (patch)
treeb9fdbdf7d94bd8e4f0954ca02b15c6feabceef2b /config/nim.cfg
parentfebb551f7a4213d61d5f9ba5b5926b8578884445 (diff)
downloadNim-d94bb4a0e188d38dcb393566978c3cae20b6d82f.tar.gz
options.linker made platform specific
previous options.linker.always is not supported in nim.cfg
Removed /Fd\"$projectName.pdb\" (Implied by /Zi)
Diffstat (limited to 'config/nim.cfg')
-rw-r--r--config/nim.cfg11
1 files changed, 5 insertions, 6 deletions
diff --git a/config/nim.cfg b/config/nim.cfg
index 088383f96..930b5b17b 100644
--- a/config/nim.cfg
+++ b/config/nim.cfg
@@ -183,20 +183,19 @@ vcc.linkerexe = "vccexe.exe"
 # set the options for specific platforms:
 @if i386:
 vcc.options.always = "--platform:x86 /nologo"
-vcc.options.linker.always = "--platform:x86 /nologo"
+vcc.options.linker = "--platform:x86 /nologo /DEBUG /Zi /F33554432" # set the stack size to 8 MB
 @elif amd64:
 vcc.options.always = "--platform:amd64 /nologo"
-vcc.options.linker.always = "--platform:amd64 /nologo"
+vcc.options.linker = "--platform:amd64 /nologo /DEBUG /Zi /F33554432" # set the stack size to 8 MB
 @elif arm:
 vcc.options.always = "--platform:arm /nologo"
-vcc.options.linker.always = "--platform:arm /nologo"
+vcc.options.linker = "--platform:arm /nologo /DEBUG /Zi /F33554432" # set the stack size to 8 MB
 @else:
 vcc.options.always = "/nologo"
-vcc.options.linker.always = "/nologo"
+vcc.options.linker = "/nologo /DEBUG /Zi /F33554432" # set the stack size to 8 MB
 @end
 
-vcc.options.linker = "/DEBUG /Zi /Fd\"$projectName.pdb\" /F33554432" # set the stack size to 8 MB
-vcc.options.debug = "/Zi /Fd\"$projectName.pdb\""
+vcc.options.debug = "/Zi /Od"
 vcc.options.speed = "/O2"
 vcc.options.size = "/O1"