Added Maya 2010 support

Added some BIGOBJ flags as well as NOD:LIBCMT to MFC ignore flags
This commit is contained in:
Bei Yang 2009-11-18 17:24:32 +00:00
parent f582d8f950
commit b2dad16e42
2 changed files with 4 additions and 3 deletions

View File

@ -785,8 +785,8 @@ def CompileLink(dll, obj, opts):
if (platform.architecture()[0] == "64bit"):
cmd += " /MACHINE:X64"
if ("MFC" not in opts):
cmd += " /NOD:MFC90.LIB"
cmd += " /NOD:MFC80.LIB /NOD:LIBCI.LIB /DEBUG"
cmd += " /NOD:MFC90.LIB /NOD:MFC80.LIB /NOD:LIBCMT"
cmd += " /NOD:LIBCI.LIB /DEBUG"
cmd += " /nod:libc /nod:libcmtd /nod:atlthunk /nod:atls"
if (GetOrigExt(dll) != ".exe"): cmd += " /DLL"
optlevel = GetOptimizeOption(opts)
@ -2396,7 +2396,7 @@ if (not RUNTIME):
#
if (not RUNTIME):
OPTS=['DIR:panda/src/grutil', 'BUILDING:PANDA', 'FFMPEG']
OPTS=['DIR:panda/src/grutil', 'BUILDING:PANDA', 'FFMPEG', 'BIGOBJ']
TargetAdd('grutil_multitexReducer.obj', opts=OPTS, input='multitexReducer.cxx')
TargetAdd('grutil_composite1.obj', opts=OPTS, input='grutil_composite1.cxx')
TargetAdd('grutil_composite2.obj', opts=OPTS, input='grutil_composite2.cxx')

View File

@ -37,6 +37,7 @@ MAYAVERSIONINFO=[("MAYA6", "6.0"),
("MAYA85", "8.5"),
("MAYA2008","2008"),
("MAYA2009","2009"),
("MAYA2010","2010"),
]
MAXVERSIONINFO = [("MAX6", "SOFTWARE\\Autodesk\\3DSMAX\\6.0", "installdir", "maxsdk\\cssdk\\include"),