comparison build/win32/build_environments/scons/build_tests.bat @ 387:847c6ec4544e

Fixed the scons batch files (win32). Core tests now compile on windows but fail to link.
author prock@33b003aa-7bff-0310-803a-e67f0ece8222
date Fri, 22 Jan 2010 19:03:43 +0000
parents 64738befdf3b
children
comparison
equal deleted inserted replaced
386:fed41c6364d4 387:847c6ec4544e
1 :: Users will need to change paths if they use custom MinGW, SCons, Python or SWIG versions that didn't ship with the SDK 1 @echo off
2 SET _=%CD%
3 SET _SWIG="%_%\..\..\applications\swigwin-1.3.40"
4 2
5 :: To avoid path collisions the following line was commented out and replaced with a slightly different version 3 :: run scons
6 :: SET PATH=%Path%;%_%\applications\scons;%_%\applications\mingw\bin 4 python ..\..\applications\scons\scons.py -C ..\..\..\..\ tests
7 SET PATH=%_%\..\..\applications\scons;%_%\..\..\applications\mingw\bin;c:\python25
8 5
9 :: Goto TRUNK and call SCons 6 :: copy the needed dlls to the path where fife was installed
10 cd \ 7 call copy_dlls.bat
11 cd "%_%\..\..\..\.."
12 python build\win32\applications\scons\scons.py tests
13 8
14 :: Delete old versions of _fife.pyd and rename the compiled fife.dll to _fife.pyd
15 ::cd "%_%\..\..\..\..\engine\swigwrappers\python"
16 ::del _fife.pyd
17 ::move "..\..\fife.dll" .\_fife.pyd
18
19 :: Return us to the directory we started from
20 cd %_%