Mercurial > fife-parpg
annotate build/win32/build_environments/scons/logbuild_engine_debug.bat @ 370:5ab78cd39534
* 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
author | mvbarracuda@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Mon, 16 Nov 2009 12:29:29 +0000 |
parents | 80b3c41c3427 |
children | 64738befdf3b |
rev | line source |
---|---|
72
5436c6070fc5
* Easy batch files for building debug versions of FIFE on win32
mvbarracuda@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
1 :: Users will need to change paths if they use custom MinGW, SCons, Python or SWIG versions that didn't ship with the SDK |
5436c6070fc5
* Easy batch files for building debug versions of FIFE on win32
mvbarracuda@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
2 SET _=%CD% |
370
5ab78cd39534
* Updated win32 build files for the new November 2009 Win32 DevKit
mvbarracuda@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
197
diff
changeset
|
3 SET _SWIG="%_%\..\..\applications\swigwin-1.3.40" |
72
5436c6070fc5
* Easy batch files for building debug versions of FIFE on win32
mvbarracuda@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
4 |
5436c6070fc5
* Easy batch files for building debug versions of FIFE on win32
mvbarracuda@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
5 :: To avoid path collisions the following line was commented out and replaced with a slightly different version |
5436c6070fc5
* Easy batch files for building debug versions of FIFE on win32
mvbarracuda@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
6 :: SET PATH=%Path%;%_%\applications\scons;%_%\applications\mingw\bin |
5436c6070fc5
* Easy batch files for building debug versions of FIFE on win32
mvbarracuda@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
7 SET PATH=%_%\..\..\applications\scons;%_%\..\..\applications\mingw\bin |
5436c6070fc5
* Easy batch files for building debug versions of FIFE on win32
mvbarracuda@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
8 |
5436c6070fc5
* Easy batch files for building debug versions of FIFE on win32
mvbarracuda@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
9 :: Delete engine_build_log.txt in case that it's still in place from a former compile sessions |
5436c6070fc5
* Easy batch files for building debug versions of FIFE on win32
mvbarracuda@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
10 del "%_%\engine_build_log.txt" |
5436c6070fc5
* Easy batch files for building debug versions of FIFE on win32
mvbarracuda@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
11 |
5436c6070fc5
* Easy batch files for building debug versions of FIFE on win32
mvbarracuda@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
12 :: Goto TRUNK and call SCons |
5436c6070fc5
* Easy batch files for building debug versions of FIFE on win32
mvbarracuda@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
13 cd \ |
5436c6070fc5
* Easy batch files for building debug versions of FIFE on win32
mvbarracuda@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
14 cd "%_%\..\..\..\.." |
185
70724fd111b8
* Removing deprecated ZIP build parameter as the engine gets built with with ZIP support by default now
mvbarracuda@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
72
diff
changeset
|
15 scons debug=1 >> "%_%\engine_build_log.txt" 2>&1 |
72
5436c6070fc5
* Easy batch files for building debug versions of FIFE on win32
mvbarracuda@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
16 |
5436c6070fc5
* Easy batch files for building debug versions of FIFE on win32
mvbarracuda@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
17 :: Delete old versions of _fife.pyd and rename the compiled fife.dll to _fife.pyd |
5436c6070fc5
* Easy batch files for building debug versions of FIFE on win32
mvbarracuda@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
18 cd "%_%\..\..\..\..\engine\swigwrappers\python" |
5436c6070fc5
* Easy batch files for building debug versions of FIFE on win32
mvbarracuda@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
19 del _fife.pyd |
5436c6070fc5
* Easy batch files for building debug versions of FIFE on win32
mvbarracuda@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
20 move "..\..\fife.dll" .\_fife.pyd |
5436c6070fc5
* Easy batch files for building debug versions of FIFE on win32
mvbarracuda@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
21 |
5436c6070fc5
* Easy batch files for building debug versions of FIFE on win32
mvbarracuda@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
22 :: Return us to the directory we started from |
5436c6070fc5
* Easy batch files for building debug versions of FIFE on win32
mvbarracuda@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
23 cd %_% |