# HG changeset patch
# User mvbarracuda@33b003aa-7bff-0310-803a-e67f0ece8222
# Date 1258374569 0
# Node ID 5ab78cd39534d0edeb76ae4dafd58796cc0b2afc
# Parent a93b21b8d0e79b8e3804acf756508141c8ff468f
* Updated win32 build files for the new November 2009 Win32 DevKit
* The old Win32 compile SDK 2008.1-r1 will NOT work with future revisions, starting with 3073
* For details, check this article that also contains the download links: http://fifengine.de/2009/11/16/new-fife-win32-devkit-available/
* Thanks to Cheesesucker for providing the installer version as well as for a bunch of smaller fixes to the build scripts
diff -r a93b21b8d0e7 -r 5ab78cd39534 build/win32-config-dist.py
--- a/build/win32-config-dist.py Sat Nov 14 18:09:13 2009 +0000
+++ b/build/win32-config-dist.py Mon Nov 16 12:29:29 2009 +0000
@@ -7,13 +7,13 @@
def addExtras(context):
path = os.environ['_']
- includepath = path + '\\..\\..\\includes\\mingw'
+ includepath = path + '\\..\\..\\includes'
staticlibpath = path + '\\..\\..\\static_libs\\mingw'
- context.env.Append(CPPPATH = [includepath + '\\libogg', includepath + '\\openal', includepath + '\\sdl_image', includepath + '\\zlib', includepath + '\\libguichan', includepath + '\\boost_1_38_0', includepath + '\\libvorbis', includepath + '\\libpng', includepath + '\\sdl_ttf', includepath + '\\sdl', includepath + '\\python25', includepath + '\\unittest++'])
- context.env.Append(LIBPATH = [staticlibpath, staticlibpath + '\\python25'])
+ context.env.Append(CPPPATH = [includepath + '\\libogg', includepath + '\\openal', includepath + '\\sdl_image', includepath + '\\zlib', includepath + '\\libguichan', includepath + '\\boost_1_38_0', includepath + '\\libvorbis', includepath + '\\libpng', includepath + '\\sdl_ttf', includepath + '\\sdl', includepath + '\\python26', includepath + '\\unittest++'])
+ context.env.Append(LIBPATH = [staticlibpath, staticlibpath + '\\python26'])
- context.env.Append(LIBS = ['libguichan_sdl', 'libguichan', 'mingw32', 'zlib', 'vorbis', 'ogg', 'vorbisfile', 'libpng', 'SDL_image', 'SDLmain', 'SDL.dll', 'OpenAL32', 'SDL_ttf', 'boost_filesystem', 'boost_regex', 'boost_system', 'python25'])
+ context.env.Append(LIBS = ['libguichan_sdl', 'libguichan', 'mingw32', 'zlib', 'vorbis', 'ogg', 'vorbisfile', 'libpng', 'SDL_image', 'SDLmain', 'SDL.dll', 'OpenAL32', 'SDL_ttf', 'boost_filesystem', 'boost_regex', 'boost_system', 'python26'])
if context.env['opengl']:
context.env.Prepend(LIBS = ['libguichan_opengl'])
diff -r a93b21b8d0e7 -r 5ab78cd39534 build/win32/build_environments/code_blocks/core_tests++.cbp
--- a/build/win32/build_environments/code_blocks/core_tests++.cbp Sat Nov 14 18:09:13 2009 +0000
+++ b/build/win32/build_environments/code_blocks/core_tests++.cbp Mon Nov 16 12:29:29 2009 +0000
@@ -32,19 +32,19 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -66,7 +66,7 @@
-
+
diff -r a93b21b8d0e7 -r 5ab78cd39534 build/win32/build_environments/code_blocks/engine_template.xml
--- a/build/win32/build_environments/code_blocks/engine_template.xml Sat Nov 14 18:09:13 2009 +0000
+++ b/build/win32/build_environments/code_blocks/engine_template.xml Mon Nov 16 12:29:29 2009 +0000
@@ -17,17 +17,17 @@
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
@@ -49,7 +49,7 @@
-
+
diff -r a93b21b8d0e7 -r 5ab78cd39534 build/win32/build_environments/scons/build_engine.bat
--- a/build/win32/build_environments/scons/build_engine.bat Sat Nov 14 18:09:13 2009 +0000
+++ b/build/win32/build_environments/scons/build_engine.bat Mon Nov 16 12:29:29 2009 +0000
@@ -1,6 +1,6 @@
:: 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"
+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
diff -r a93b21b8d0e7 -r 5ab78cd39534 build/win32/build_environments/scons/build_engine_debug.bat
--- a/build/win32/build_environments/scons/build_engine_debug.bat Sat Nov 14 18:09:13 2009 +0000
+++ b/build/win32/build_environments/scons/build_engine_debug.bat Mon Nov 16 12:29:29 2009 +0000
@@ -1,6 +1,6 @@
:: 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"
+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
diff -r a93b21b8d0e7 -r 5ab78cd39534 build/win32/build_environments/scons/build_engine_nolog.bat
--- a/build/win32/build_environments/scons/build_engine_nolog.bat Sat Nov 14 18:09:13 2009 +0000
+++ b/build/win32/build_environments/scons/build_engine_nolog.bat Mon Nov 16 12:29:29 2009 +0000
@@ -1,6 +1,6 @@
:: 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"
+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
diff -r a93b21b8d0e7 -r 5ab78cd39534 build/win32/build_environments/scons/build_tests.bat
--- a/build/win32/build_environments/scons/build_tests.bat Sat Nov 14 18:09:13 2009 +0000
+++ b/build/win32/build_environments/scons/build_tests.bat Mon Nov 16 12:29:29 2009 +0000
@@ -1,6 +1,6 @@
:: 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"
+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
diff -r a93b21b8d0e7 -r 5ab78cd39534 build/win32/build_environments/scons/cleanup_engine.bat
--- a/build/win32/build_environments/scons/cleanup_engine.bat Sat Nov 14 18:09:13 2009 +0000
+++ b/build/win32/build_environments/scons/cleanup_engine.bat Mon Nov 16 12:29:29 2009 +0000
@@ -1,6 +1,6 @@
:: 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"
+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
diff -r a93b21b8d0e7 -r 5ab78cd39534 build/win32/build_environments/scons/list_scons_args.bat
--- a/build/win32/build_environments/scons/list_scons_args.bat Sat Nov 14 18:09:13 2009 +0000
+++ b/build/win32/build_environments/scons/list_scons_args.bat Mon Nov 16 12:29:29 2009 +0000
@@ -1,6 +1,6 @@
:: 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"
+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
diff -r a93b21b8d0e7 -r 5ab78cd39534 build/win32/build_environments/scons/logbuild_engine.bat
--- a/build/win32/build_environments/scons/logbuild_engine.bat Sat Nov 14 18:09:13 2009 +0000
+++ b/build/win32/build_environments/scons/logbuild_engine.bat Mon Nov 16 12:29:29 2009 +0000
@@ -1,6 +1,6 @@
:: 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"
+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
diff -r a93b21b8d0e7 -r 5ab78cd39534 build/win32/build_environments/scons/logbuild_engine_debug.bat
--- a/build/win32/build_environments/scons/logbuild_engine_debug.bat Sat Nov 14 18:09:13 2009 +0000
+++ b/build/win32/build_environments/scons/logbuild_engine_debug.bat Mon Nov 16 12:29:29 2009 +0000
@@ -1,6 +1,6 @@
:: 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"
+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
diff -r a93b21b8d0e7 -r 5ab78cd39534 build/win32/build_environments/scons/logbuild_engine_nolog.bat
--- a/build/win32/build_environments/scons/logbuild_engine_nolog.bat Sat Nov 14 18:09:13 2009 +0000
+++ b/build/win32/build_environments/scons/logbuild_engine_nolog.bat Mon Nov 16 12:29:29 2009 +0000
@@ -1,6 +1,6 @@
:: 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"
+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
diff -r a93b21b8d0e7 -r 5ab78cd39534 build/win32/build_environments/scons/logbuild_tests.bat
--- a/build/win32/build_environments/scons/logbuild_tests.bat Sat Nov 14 18:09:13 2009 +0000
+++ b/build/win32/build_environments/scons/logbuild_tests.bat Mon Nov 16 12:29:29 2009 +0000
@@ -1,6 +1,6 @@
:: 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"
+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
diff -r a93b21b8d0e7 -r 5ab78cd39534 build/win32/build_environments/visual_studio_8/engine_template.xml
--- a/build/win32/build_environments/visual_studio_8/engine_template.xml Sat Nov 14 18:09:13 2009 +0000
+++ b/build/win32/build_environments/visual_studio_8/engine_template.xml Mon Nov 16 12:29:29 2009 +0000
@@ -24,7 +24,7 @@
@@ -71,7 +71,7 @@
diff -r a93b21b8d0e7 -r 5ab78cd39534 build/win32/build_environments/visual_studio_8/unittest_template.xml
--- a/build/win32/build_environments/visual_studio_8/unittest_template.xml Sat Nov 14 18:09:13 2009 +0000
+++ b/build/win32/build_environments/visual_studio_8/unittest_template.xml Mon Nov 16 12:29:29 2009 +0000
@@ -21,7 +21,7 @@
-
+
@@ -41,7 +41,7 @@
-
+
diff -r a93b21b8d0e7 -r 5ab78cd39534 build/win32/build_environments/visual_studio_9/Fife_UnitTest.vcproj
--- a/build/win32/build_environments/visual_studio_9/Fife_UnitTest.vcproj Sat Nov 14 18:09:13 2009 +0000
+++ b/build/win32/build_environments/visual_studio_9/Fife_UnitTest.vcproj Mon Nov 16 12:29:29 2009 +0000
@@ -41,7 +41,7 @@