comparison build/win32/build_environments/scons/logbuild_engine_nolog.bat @ 378:64738befdf3b

bringing in the changes from the build_system_rework branch in preparation for the 0.3.0 release. This commit will require the Jan2010 devkit. Clients will also need to be modified to the new way to import fife.
author vtchill@33b003aa-7bff-0310-803a-e67f0ece8222
date Mon, 11 Jan 2010 23:34:52 +0000
parents 5ab78cd39534
children e00d9af76f0a
comparison
equal deleted inserted replaced
377:fe6fb0e0ed23 378:64738befdf3b
1 @echo off
2
1 :: Users will need to change paths if they use custom MinGW, SCons, Python or SWIG versions that didn't ship with the SDK 3 :: Users will need to change paths if they use custom MinGW, SCons, Python or SWIG versions that didn't ship with the SDK
2 SET _=%CD% 4 SET _=%CD%
3 SET _SWIG="%_%\..\..\applications\swigwin-1.3.40" 5 SET _SWIG="%_%\..\..\applications\swigwin-1.3.40"
4 6
5 :: To avoid path collisions the following line was commented out and replaced with a slightly different version 7 :: To avoid path collisions the following line was commented out and replaced with a slightly different version
6 :: SET PATH=%Path%;%_%\applications\scons;%_%\applications\mingw\bin 8 :: SET PATH=%Path%;%_%\applications\scons;%_%\applications\mingw\bin
7 SET PATH=%_%\..\..\applications\scons;%_%\..\..\applications\mingw\bin 9 SET PATH=%_%\..\..\applications\scons;%_%\..\..\applications\mingw\bin;c:\python25
8 10
9 :: Delete engine_build_log.txt in case that it's still in place from a former compile sessions 11 :: Delete engine_build_log.txt in case that it's still in place from a former compile sessions
10 del "%_%\engine_build_log.txt" 12 del "%_%\engine_build_log.txt"
11 13
12 :: Goto TRUNK and call SCons 14 :: Goto TRUNK and call SCons
13 cd \ 15 cd \
14 cd "%_%\..\..\..\.." 16 cd "%_%\..\..\..\.."
15 scons debug=0 log=0 >> "%_%\engine_build_log.txt" 2>&1 17 python build\win32\applications\scons\scons.py --release --disable-log fife-python >> "%_%\engine_build_log.txt" 2>&1
16
17 :: Delete old versions of _fife.pyd and rename the compiled fife.dll to _fife.pyd
18 cd "%_%\..\..\..\..\engine\swigwrappers\python"
19 del _fife.pyd
20 move "..\..\fife.dll" .\_fife.pyd
21 18
22 :: Return us to the directory we started from 19 :: Return us to the directory we started from
23 cd %_% 20 cd %_%
21
22 :: copy the needed dlls to the path where fife was installed
23 call copy_dlls.bat