make the vccexe helper tool compile again
This commit is contained in:
parent
975114e114
commit
46204eba1f
2 changed files with 7 additions and 7 deletions
|
|
@ -19,7 +19,7 @@ proc getVsComnToolsPath*(): TaintedString =
|
|||
return vsComnToolsEnvVal
|
||||
|
||||
proc getVccEnv*(platform: string, windowsStoreSdk: bool = false,
|
||||
sdkVersion: string = nil): StringTableRef =
|
||||
sdkVersion: string = ""): StringTableRef =
|
||||
var comSpecCommandString = getEnv comSpecEnvKey
|
||||
if comSpecCommandString.len == 0:
|
||||
comSpecCommandString = "cmd"
|
||||
|
|
|
|||
|
|
@ -34,8 +34,8 @@ Microsoft C/C++ compiler for the specified SDK toolset
|
|||
"""
|
||||
|
||||
when isMainModule:
|
||||
var platformArg: string = nil
|
||||
var sdkVersionArg: string = nil
|
||||
var platformArg: string = ""
|
||||
var sdkVersionArg: string = ""
|
||||
var storeArg: bool = false
|
||||
|
||||
var clArgs: seq[TaintedString] = @[]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue