git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71929
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
return getoutput("xcode-select -print-path")
return getoutput("xcode-select -print-path")
+def getVisCVersion():
+ text = getoutput("cl.exe")
+ if 'Version 15' in text:
+ return '90'
+ # TODO: Add more tests to get the other versions...
+ else:
+ return 'FIXME'
+
+
def exitIfError(code, msg):
if code != 0:
print(msg)
def exitIfError(code, msg):
if code != 0:
print(msg)
if options.wxpython:
args.append("OFFICIAL_BUILD=1")
if options.wxpython:
args.append("OFFICIAL_BUILD=1")
+ args.append("COMPILER_VERSION=%s" % getVisCVersion())
args.append("SHARED=1")
args.append("MONOLITHIC=0")
args.append("USE_OPENGL=1")
args.append("SHARED=1")
args.append("MONOLITHIC=0")
args.append("USE_OPENGL=1")