Fix vccexe compilation
This commit is contained in:
parent
76c214a2e9
commit
9ebe52cdeb
2 changed files with 11 additions and 11 deletions
|
|
@ -2,12 +2,12 @@ import strutils, strtabs, os, osproc, vcvarsall, vccenv
|
|||
|
||||
type
|
||||
VccVersion* = enum ## VCC compiler backend versions
|
||||
vccUndefined = (0, ""), ## VCC version undefined, resolves to the latest recognizable VCC version
|
||||
vcc90 = vs90, ## Visual Studio 2008 (Version 9.0)
|
||||
vcc100 = vs100, ## Visual Studio 2010 (Version 10.0)
|
||||
vcc110 = vs110, ## Visual Studio 2012 (Version 11.0)
|
||||
vcc120 = vs120, ## Visual Studio 2013 (Version 12.0)
|
||||
vcc140 = vs140 ## Visual Studio 2015 (Version 14.0)
|
||||
vccUndefined = 0, ## VCC version undefined, resolves to the latest recognizable VCC version
|
||||
vcc90 = ord(vs90) ## Visual Studio 2008 (Version 9.0)
|
||||
vcc100 = ord(vs100) ## Visual Studio 2010 (Version 10.0)
|
||||
vcc110 = ord(vs110) ## Visual Studio 2012 (Version 11.0)
|
||||
vcc120 = ord(vs120) ## Visual Studio 2013 (Version 12.0)
|
||||
vcc140 = ord(vs140) ## Visual Studio 2015 (Version 14.0)
|
||||
|
||||
proc discoverVccVcVarsAllPath*(version: VccVersion = vccUndefined): string =
|
||||
## Returns the path to the vcvarsall utility of the specified VCC compiler backend.
|
||||
|
|
@ -101,12 +101,12 @@ command was specified
|
|||
when isMainModule:
|
||||
var vccversionArg: seq[string] = @[]
|
||||
var printPathArg: bool = false
|
||||
var vcvarsallArg: string = nil
|
||||
var commandArg: string = nil
|
||||
var vcvarsallArg: string
|
||||
var commandArg: string
|
||||
var noCommandArg: bool = false
|
||||
var platformArg: VccArch
|
||||
var sdkTypeArg: VccPlatformType
|
||||
var sdkVersionArg: string = nil
|
||||
var sdkVersionArg: string
|
||||
var verboseArg: bool = false
|
||||
|
||||
var clArgs: seq[TaintedString] = @[]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue