view build/win32/build_environments/scons/logbuild_engine_debug.bat @ 384:621b062e752d

Modified the code blocks project files to fit with the new build system. Code blocks now uses scons to build each of the configurations. The python configurations build properly but fail during link with a bunch of undefined references insides of the swig generated dll, not sure why. Also updated the win32-config.py so that it no longer relies on variables defined outside of itself, this was causing code blocks to not be able to build. Updated a couple of the batch scripts so they run properly.
author vtchill@33b003aa-7bff-0310-803a-e67f0ece8222
date Wed, 20 Jan 2010 05:56:18 +0000
parents e00d9af76f0a
children 847c6ec4544e
line wrap: on
line source

@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;c:\python25

:: 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 "%_%\..\..\..\.."
python build\win32\applications\scons\scons.py --enable-debug fife-python >> "%_%\engine_build_log.txt" 2>&1

:: Return us to the directory we started from
cd %_%

:: copy the needed dlls to the path where fife was installed
call copy_dlls.bat