diff build/win32/build_environments/scons/build_engine.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
line wrap: on
line diff
--- a/build/win32/build_environments/scons/build_engine.bat	Wed Dec 09 17:01:52 2009 +0000
+++ b/build/win32/build_environments/scons/build_engine.bat	Mon Jan 11 23:34:52 2010 +0000
@@ -1,20 +1,20 @@
+@echo off
+
 :: 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
+SET PATH=%_%\..\..\applications\scons;%_%\..\..\applications\mingw\bin;c:\python25
 
 :: Goto TRUNK and call SCons
 cd \
 cd "%_%\..\..\..\.."
-scons debug=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
+python build\win32\applications\scons\scons.py --release fife-python
 
 :: Return us to the directory we started from
 cd %_%
+
+:: copy the needed dlls to the path where fife was installed
+call copy_dlls.bat