Fixed unicode support and introduced a debug flag.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35648 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -3,6 +3,16 @@
|
|||||||
PY_VERSION=$1
|
PY_VERSION=$1
|
||||||
shift
|
shift
|
||||||
|
|
||||||
|
unicode=no
|
||||||
|
debug=no
|
||||||
|
|
||||||
|
for flag in $*; do
|
||||||
|
case ${flag} in
|
||||||
|
debug) debug=yes ;;
|
||||||
|
unicode) unicode=yes ;;
|
||||||
|
esac
|
||||||
|
done
|
||||||
|
|
||||||
if [ "$WXWIN" = "" ]; then
|
if [ "$WXWIN" = "" ]; then
|
||||||
export WXWIN=`pwd`/../..
|
export WXWIN=`pwd`/../..
|
||||||
fi
|
fi
|
||||||
@@ -32,7 +42,7 @@ if [ "$OSTYPE" = "cygwin" ]; then
|
|||||||
# remove old build files
|
# remove old build files
|
||||||
rm -rf vc_msw*
|
rm -rf vc_msw*
|
||||||
UNI=
|
UNI=
|
||||||
if [ "$UNICODE" != "" ]; then
|
if [ $unicode = yes ]; then
|
||||||
UNI=-uni
|
UNI=-uni
|
||||||
fi
|
fi
|
||||||
./.make hybrid$UNI
|
./.make hybrid$UNI
|
||||||
@@ -67,7 +77,7 @@ if [ "$OSTYPE" = "cygwin" ]; then
|
|||||||
if [ "$DEBUG" != "" ]; then
|
if [ "$DEBUG" != "" ]; then
|
||||||
DEBUG_FLAG=--debug
|
DEBUG_FLAG=--debug
|
||||||
fi
|
fi
|
||||||
if [ "$UNICODE" != "" ]; then
|
if [ $unicode = yes ]; then
|
||||||
UNICODE_FLAG="UNICODE=1"
|
UNICODE_FLAG="UNICODE=1"
|
||||||
fi
|
fi
|
||||||
b $PY_VERSION h $DEBUG_FLAG $UNICODE_FLAG
|
b $PY_VERSION h $DEBUG_FLAG $UNICODE_FLAG
|
||||||
@@ -89,7 +99,7 @@ elif [ "$OSTYPE" = "darwin" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
UNICODE_OPT=
|
UNICODE_OPT=
|
||||||
if [ "$UNICODE" = "1" ]; then
|
if [ $unicode = yes ]; then
|
||||||
UNICODE_OPT=unicode
|
UNICODE_OPT=unicode
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user