Browse Source

Added Maya 2010 support
Added some BIGOBJ flags as well as NOD:LIBCMT to MFC ignore flags

Bei Yang 16 years ago
parent
commit
b2dad16e42
2 changed files with 4 additions and 3 deletions
  1. 3 3
      makepanda/makepanda.py
  2. 1 0
      makepanda/makepandacore.py

+ 3 - 3
makepanda/makepanda.py

@@ -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')

+ 1 - 0
makepanda/makepandacore.py

@@ -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"),