mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 02:15:43 -04:00
Made some changes for Maya 8.5
This commit is contained in:
parent
8566b388fb
commit
7b300b2413
@ -54,7 +54,7 @@ BUILTFROMCACHE = {}
|
|||||||
CXXINCLUDECACHE = {}
|
CXXINCLUDECACHE = {}
|
||||||
THREADCOUNT=0
|
THREADCOUNT=0
|
||||||
DXVERSIONS=["8","9"]
|
DXVERSIONS=["8","9"]
|
||||||
MAYAVERSIONS=["6","65","7","8"]
|
MAYAVERSIONS=["6","65","7","8","85"]
|
||||||
MAXVERSIONS=["6","7","8"]
|
MAXVERSIONS=["6","7","8"]
|
||||||
ICACHEPATH="built/tmp/makepanda-dcache"
|
ICACHEPATH="built/tmp/makepanda-dcache"
|
||||||
INTERRUPT=0
|
INTERRUPT=0
|
||||||
@ -328,10 +328,9 @@ def getVC80CRTVersion(fn):
|
|||||||
|
|
||||||
def setVC80CRTVersion(fn, ver):
|
def setVC80CRTVersion(fn, ver):
|
||||||
manifest = ReadFile(fn)
|
manifest = ReadFile(fn)
|
||||||
version = VC80CRTVERSIONRE.search(manifest)
|
subst = " name='Microsoft.VC80.CRT' version='"+ver+"' "
|
||||||
if (version == None):
|
manifest = VC80CRTVERSIONRE.sub(subst, manifest)
|
||||||
exit("Cannot find version number in "+wdll+".manifest")
|
WriteFile(fn, manifest)
|
||||||
WriteFile(fn, manifest[:version.start(1)]+VC80CRTVERSION+manifest[version.end(1):])
|
|
||||||
|
|
||||||
########################################################################
|
########################################################################
|
||||||
##
|
##
|
||||||
@ -458,6 +457,8 @@ if (os.path.isdir("sdks")):
|
|||||||
MAYASDK["MAYA6"] = "sdks/maya6"
|
MAYASDK["MAYA6"] = "sdks/maya6"
|
||||||
MAYASDK["MAYA65"] = "sdks/maya65"
|
MAYASDK["MAYA65"] = "sdks/maya65"
|
||||||
MAYASDK["MAYA7"] = "sdks/maya7"
|
MAYASDK["MAYA7"] = "sdks/maya7"
|
||||||
|
MAYASDK["MAYA8"] = "sdks/maya8"
|
||||||
|
MAYASDK["MAYA85"] = "sdks/maya85"
|
||||||
|
|
||||||
########################################################################
|
########################################################################
|
||||||
##
|
##
|
||||||
@ -1278,7 +1279,7 @@ def EnqueueLib(lib=0, obj=[], opts=[]):
|
|||||||
########################################################################
|
########################################################################
|
||||||
|
|
||||||
def CompileLinkMSVC(wdll, wlib, wobj, opts, dll, ldef):
|
def CompileLinkMSVC(wdll, wlib, wobj, opts, dll, ldef):
|
||||||
cmd = 'link /nologo /NODEFAULTLIB:LIBCI.LIB /NODEFAULTLIB:MSVCRTD.LIB /DEBUG '
|
cmd = 'link /nologo /NOD:MFC80.LIB /NOD:LIBCI.LIB /NOD:MSVCRTD.LIB /DEBUG '
|
||||||
if (THIRDPARTYLIBS=="thirdparty/win-libs-vc8/"): cmd = cmd + " /nod:libc /nod:libcmtd"
|
if (THIRDPARTYLIBS=="thirdparty/win-libs-vc8/"): cmd = cmd + " /nod:libc /nod:libcmtd"
|
||||||
if (wdll[-4:]!=".exe"): cmd = cmd + " /DLL"
|
if (wdll[-4:]!=".exe"): cmd = cmd + " /DLL"
|
||||||
optlevel = getoptlevel(opts,OPTIMIZE)
|
optlevel = getoptlevel(opts,OPTIMIZE)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user