view build/win32/build_environments/scons/build_engine_nolog.bat @ 72:5436c6070fc5

* Easy batch files for building debug versions of FIFE on win32 * Debugging with gdb works if you build with the debug batch files though it shows some graphics artefacts; nevertheless it doesn't crash. * If you try to debug release binaries FIFE will segfault in gdb; might be guichan related.
author mvbarracuda@33b003aa-7bff-0310-803a-e67f0ece8222
date Thu, 17 Jul 2008 22:59:26 +0000
parents build/win32/build_environments/scons/build_engine_release.bat@4a0efb7baf70
children
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.35"

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

:: Goto TRUNK and call SCons
cd \
cd "%_%\..\..\..\.."
scons debug=0 zip=1 log=0

:: 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 %_%