VCC wrappers with vcvars args.

VCC wrappers no longer wrap for compile-time specific target
VCC wrappers now peek into the command line args and evaluate vcvars prefixed arguments
This commit is contained in:
Fredrik Høisæther Rasch 2016-10-25 01:49:18 +02:00
commit e99f35ff23
3 changed files with 114 additions and 21 deletions

View file

@ -177,10 +177,18 @@ clang.options.speed = "-O3"
clang.options.size = "-Os"
# Configuration for the Visual C/C++ compiler:
vcc.options.linker = "/DEBUG /Zi /Fd\"$projectName.pdb\" /F33554432" # set the stack size to 8 MB
vcc.exe = "vccexe.exe"
vcc.linkerexe = "vccexe.exe"
# Here we need to set the options for specific platforms:
# amd64.windows.vcc.options = "/vcvars:platform:amd64"
# i386.windows.vcc.options = "/vcvars:platform:x86"
# arm.windows.vcc.options = "/vcvars:platform:arm"
vcc.options.linker = "/nologo /DEBUG /Zi /Fd\"$projectName.pdb\" /F33554432" # set the stack size to 8 MB
vcc.options.debug = "/Zi /Fd\"$projectName.pdb\""
vcc.options.always = "/nologo"
vcc.options.speed = "/O2 /arch:SSE2"
vcc.options.speed = "/O2"
vcc.options.size = "/O1"
# Configuration for the Tiny C Compiler: