Some build tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32357 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -27,8 +27,7 @@ WXDIR=$1
|
||||
DESTDIR=$2
|
||||
SKIPCLEAN=$3
|
||||
VERSION=$4
|
||||
shift;shift;shift;shift
|
||||
PYVER=$@
|
||||
PYVER=$5
|
||||
|
||||
|
||||
# WXDIR is the cygwin path, WXWIN is the DOS path
|
||||
@@ -45,6 +44,17 @@ export WXWIN
|
||||
# echo "-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-="
|
||||
# exit 0
|
||||
|
||||
# setup the compiler
|
||||
if [ $PYVER = 2.3 ]; then
|
||||
echo "Using MSVC ver 6"
|
||||
. msvcset local 6
|
||||
echo `which cl.exe`
|
||||
else
|
||||
echo "Using MSVC ver 7"
|
||||
. msvcset local 7
|
||||
echo `which cl.exe`
|
||||
fi
|
||||
|
||||
|
||||
# untar the source
|
||||
echo "Unarchiving wxPython-src-$VERSION.tar.gz"
|
||||
@@ -64,6 +74,7 @@ unix2dos -D $names
|
||||
echo "Setting up for the build..."
|
||||
cd $WXDIR/build/msw
|
||||
cp $WXDIR/wxPython/distrib/msw/.m* .
|
||||
chmod +x .m*
|
||||
|
||||
|
||||
# replace some settings in setup0.h and write to setup.h
|
||||
|
Reference in New Issue
Block a user