Browse Source

run win-python-x64 if it exists

David Rose 14 years ago
parent
commit
089c4780d5
1 changed files with 7 additions and 0 deletions
  1. 7 0
      makepanda/makepanda.bat

+ 7 - 0
makepanda/makepanda.bat

@@ -12,10 +12,17 @@ if defined MAKEPANDA_THIRDPARTY set thirdparty=%MAKEPANDA_THIRDPARTY%
 if not exist makepanda\makepanda.py goto :missing1
 if not exist makepanda\makepanda.py goto :missing1
 
 
 if not exist %thirdparty%\win-python\python.exe goto :missing2
 if not exist %thirdparty%\win-python\python.exe goto :missing2
+
+if exist %thirdparty%\win-python-x64\python.exe goto :build64
 %thirdparty%\win-python\python.exe makepanda\makepanda.py %*
 %thirdparty%\win-python\python.exe makepanda\makepanda.py %*
 if errorlevel 1 if x%1 == x--slavebuild exit 1
 if errorlevel 1 if x%1 == x--slavebuild exit 1
 goto done
 goto done
 
 
+:build64
+%thirdparty%\win-python-x64\python.exe makepanda\makepanda.py %*
+if errorlevel 1 if x%1 == x--slavebuild exit 1
+goto done
+
 :missing1
 :missing1
   echo You need to change directory to the root of the panda source tree
   echo You need to change directory to the root of the panda source tree
   echo before invoking makepanda.  For further install instructions, read 
   echo before invoking makepanda.  For further install instructions, read