view build/win32/build_environments/scons/logbuild_engine.bat @ 361:f55ddf7fdad5

* Editor command line map arg support patch by or1andov / superfluid * Map args handling might need to be refactored once more args will be added but it's fine with one possible arg for now
author mvbarracuda@33b003aa-7bff-0310-803a-e67f0ece8222
date Wed, 07 Oct 2009 19:02:14 +0000
parents 80b3c41c3427
children 5ab78cd39534
line wrap: on
line source

:: Users will need to change paths if they use custom MinGW, SCons, Python or SWIG versions that didn't ship with the SDK
SET _=%CD%
SET _SWIG="%_%\..\..\applications\swigwin-1.3.38"

:: To avoid path collisions the following line was commented out and replaced with a slightly different version
:: SET PATH=%Path%;%_%\applications\scons;%_%\applications\mingw\bin
SET PATH=%_%\..\..\applications\scons;%_%\..\..\applications\mingw\bin

:: Delete engine_build_log.txt in case that it's still in place from a former compile sessions
del "%_%\engine_build_log.txt"

:: Goto TRUNK and call SCons
cd \
cd "%_%\..\..\..\.."
scons debug=0 >> "%_%\engine_build_log.txt" 2>&1

:: Delete old versions of _fife.pyd and rename the compiled fife.dll to _fife.pyd
cd "%_%\..\..\..\..\engine\swigwrappers\python"
del _fife.pyd
move "..\..\fife.dll" .\_fife.pyd

:: Return us to the directory we started from
cd %_%