view build/win32/build_environments/scons/build_tests.bat @ 380:2a1259ce2b95

Moved the check for the SWIG environment variable from darwin-config.py to Sconstruct so all platforms can use it. You should now be able to specify CXXFLAGS either by command line or by setting your CXXFLAGS environment variable.
author prock@33b003aa-7bff-0310-803a-e67f0ece8222
date Tue, 12 Jan 2010 17:22:43 +0000
parents 64738befdf3b
children 847c6ec4544e
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.40"

:: 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;c:\python25

:: Goto TRUNK and call SCons
cd \
cd "%_%\..\..\..\.."
python build\win32\applications\scons\scons.py tests

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