# HG changeset patch # User mvbarracuda@33b003aa-7bff-0310-803a-e67f0ece8222 # Date 1216335566 0 # Node ID 5436c6070fc586f06a461724b49473f680f53f36 # Parent afdca61c314bb9215e463f45d8be137393c9b7e3 * Easy batch files for building debug versions of FIFE on win32 * Debugging with gdb works if you build with the debug batch files though it shows some graphics artefacts; nevertheless it doesn't crash. * If you try to debug release binaries FIFE will segfault in gdb; might be guichan related. diff -r afdca61c314b -r 5436c6070fc5 build/win32/build_environments/scons/build_engine_debug.bat --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/build/win32/build_environments/scons/build_engine_debug.bat Thu Jul 17 22:59:26 2008 +0000 @@ -0,0 +1,20 @@ +:: 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.35" + +:: 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 + +:: Goto TRUNK and call SCons +cd \ +cd "%_%\..\..\..\.." +scons debug=1 zip=1 + +:: 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 %_% diff -r afdca61c314b -r 5436c6070fc5 build/win32/build_environments/scons/build_engine_nolog.bat --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/build/win32/build_environments/scons/build_engine_nolog.bat Thu Jul 17 22:59:26 2008 +0000 @@ -0,0 +1,20 @@ +:: 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.35" + +:: 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 + +:: Goto TRUNK and call SCons +cd \ +cd "%_%\..\..\..\.." +scons debug=0 zip=1 log=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 + +:: Return us to the directory we started from +cd %_% diff -r afdca61c314b -r 5436c6070fc5 build/win32/build_environments/scons/build_engine_release.bat --- a/build/win32/build_environments/scons/build_engine_release.bat Thu Jul 17 21:36:37 2008 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,20 +0,0 @@ -:: 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.35" - -:: 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 - -:: Goto TRUNK and call SCons -cd \ -cd "%_%\..\..\..\.." -scons debug=0 zip=1 log=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 - -:: Return us to the directory we started from -cd %_% diff -r afdca61c314b -r 5436c6070fc5 build/win32/build_environments/scons/logbuild_engine_debug.bat --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/build/win32/build_environments/scons/logbuild_engine_debug.bat Thu Jul 17 22:59:26 2008 +0000 @@ -0,0 +1,23 @@ +:: 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.35" + +:: 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 + +:: Delete engine_build_log.txt in case that it's still in place from a former compile sessions +del "%_%\engine_build_log.txt" + +:: Goto TRUNK and call SCons +cd \ +cd "%_%\..\..\..\.." +scons debug=1 zip=1 >> "%_%\engine_build_log.txt" 2>&1 + +:: 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 %_% diff -r afdca61c314b -r 5436c6070fc5 build/win32/build_environments/scons/logbuild_engine_nolog.bat --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/build/win32/build_environments/scons/logbuild_engine_nolog.bat Thu Jul 17 22:59:26 2008 +0000 @@ -0,0 +1,23 @@ +:: 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.35" + +:: 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 + +:: Delete engine_build_log.txt in case that it's still in place from a former compile sessions +del "%_%\engine_build_log.txt" + +:: Goto TRUNK and call SCons +cd \ +cd "%_%\..\..\..\.." +scons debug=0 zip=1 log=0 >> "%_%\engine_build_log.txt" 2>&1 + +:: 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 %_% diff -r afdca61c314b -r 5436c6070fc5 build/win32/build_environments/scons/logbuild_engine_release.bat --- a/build/win32/build_environments/scons/logbuild_engine_release.bat Thu Jul 17 21:36:37 2008 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,23 +0,0 @@ -:: 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.35" - -:: 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 - -:: Delete engine_build_log.txt in case that it's still in place from a former compile sessions -del "%_%\engine_build_log.txt" - -:: Goto TRUNK and call SCons -cd \ -cd "%_%\..\..\..\.." -scons debug=0 zip=1 log=0 >> "%_%\engine_build_log.txt" 2>&1 - -:: 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 %_%