run win-python-x64 if it exists

This commit is contained in:
David Rose 2011-09-12 22:03:22 +00:00
parent 540f7f2150
commit 089c4780d5

View File

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