view build/win32/build_environments/scons/build_engine_debug.bat @ 197:80b3c41c3427

* Updated win32 build scripts to work with the new compile SDK * Download the SDK here: http://downloads.sourceforge.net/fife/FIFE_2009.0_win32_SDK.7z * List of changes and further details can be found here: http://fifengine.de/2009/03/11/new-win32-compile-sdk-released-20090/ * The 2008.0-r4 SDK won't work anymore since this commit.
author mvbarracuda@33b003aa-7bff-0310-803a-e67f0ece8222
date Wed, 11 Mar 2009 21:09:39 +0000
parents 70724fd111b8
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

:: Goto TRUNK and call SCons
cd \
cd "%_%\..\..\..\.."
scons debug=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 %_%