def SetupMscver(): if sys.platform == "win32": excons.InitGlobals() mscver = excons.GetArgument("mscver", None) if mscver is None: houver = Version(full=False) if houver is not None: mscver = _hou_mscver.get(houver, None) if mscver is not None: print("Using msvc %s" % mscver) excons.SetArgument("mscver", mscver)
def SetupMscver(): if sys.platform == "win32": excons.InitGlobals() mscver = excons.GetArgument("mscver", None) if mscver is None: mayaver = Version(nice=True) if mayaver is not None: mscver = _maya_mscver.get(mayaver, None) if mscver is not None: print("Using msvc %s" % mscver) excons.SetArgument("mscver", mscver)
def SetupGccver(): if sys.platform.startswith("linux"): excons.InitGlobals() # bypass the arguments cache by using ARGUMENTS rather than # calling excons.GetArgument gccver = SCons.Script.ARGUMENTS.get("devtoolset", None) if gccver is None: mayaver = Version(full=False) if mayaver is not None: gccver = _hou_gccver.get(mayaver, "") if gccver is not None: print("Using gcc %s" % excons.devtoolset.GetGCCFullVer(gccver)) excons.SetArgument("devtoolset", gccver)
def SetupMscver(): if sys.platform == "win32": excons.InitGlobals() # bypass the arguments cache by using ARGUMENTS rather than # calling excons.GetArgument mscver = SCons.Script.ARGUMENTS.get("mscver", None) if mscver is None: mayaver = Version(nice=True) if mayaver is not None: mscver = _maya_mscver.get(mayaver, None) if mscver is not None: print("Using msvc %s" % mscver) excons.SetArgument("mscver", mscver)