Win32 finall compiles with a command-line process, without packaging.

meow-7.2.2
Arrehn 2010-10-28 17:22:57 -04:00
parent 1ac78f4c3b
commit da92f0b282
6 changed files with 32 additions and 8 deletions

View File

@ -0,0 +1,9 @@
phoenix-firestorm-gpl = GPL Contributions
phoenix-firestorm-lgpl = LGPL Contributions ONLY!
phoenix-firestorm-int = Do not use - for build integration testing
and upstream merges.
If you are working on the -gpl branch, you may merge FROM -lgpl
No changes from -gpl should ever be merged to -lgpl. Code can flow in one direction only.

View File

@ -1,6 +0,0 @@
Follow the snowstorm instructions for setting up a windows build environment
http://wiki.secondlife.com/wiki/Viewer_2_Microsoft_Windows_Builds
[ not implemented yet ] run build_firestorm_win32.sh in cygwin

View File

@ -0,0 +1,12 @@
Follow the snowstorm instructions for setting up a windows build environment
http://wiki.secondlife.com/wiki/Viewer_2_Microsoft_Windows_Builds
Make sure to copy fmod.dll into both your indra/ folder and also libraries/i686-win32/Release and libraries/RelWithDebInfo
Open up cygwin and navigate to your code directory. Example:
cd /cygdrive/c/my/path/to/phoenix-firestorm
run ./build_firestorm_win32.sh
This will do a clean compile. Rebuilds should be possible by specifying --rebuild. This build is a work in progress. Alternately, build in visual studio. By default, packaging is not enabled.

View File

@ -6,6 +6,7 @@
TRUE=0 # Map the shell's idea of truth to a variable for better documentation
FALSE=1
PYTHON="/cygdrive/c/Python26/python.exe"
LOG="`pwd`/logs/build_win32.log"
###
@ -32,6 +33,10 @@ fi
###
path=$WINPATH:/usr/local/bin:/usr/bin:/bin
if [ ! -f "$PYTHON" ] ; then
echo "ERROR: You need to edit this file and set PYTHON at the top to point at the path of your python executable."
exit 1
fi
pushd indra
if [ $WANTS_CLEAN -eq $TRUE ] ; then
@ -42,12 +47,16 @@ fi
if [ $WANTS_CONFIG -eq $TRUE ] ; then
mkdir -p ../logs > /dev/null 2>&1
cmd /c "develop.py -G vc80 configure -DLL_TESTS:BOOL=OFF" | tee $LOG
$PYTHON develop.py -G vc80 -t Release configure -DPACKAGE:BOOL=OFF -DLL_TESTS:BOOL=OFF 2>&1 | tee $LOG
mkdir -p build_vc80/sharedlibs/RelWithDebInfo
mkdir -p build_vc80/sharedlibs/Release
cp fmod.dll ./build_vc80/sharedlibs/RelWithDebInfo
cp fmod.dll ./build_vc80/sharedlibs/Release
fi
if [ $WANTS_BUILD -eq $TRUE ] ; then
echo "Building in progress... Check $LOG for verbose status"
cmd /c "develop.py build" | tee -a $LOG
$PYTHON develop.py -G vc80 -t Release build 2>&1 | tee -a $LOG
echo "Complete"
fi
popd