Initial implementation of wxWidgets build scripts for Mac and Unix. To run tests, just run dobuilds in mac and unix dirs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
29
distrib/scripts/mac/macbuild
Executable file
29
distrib/scripts/mac/macbuild
Executable file
@@ -0,0 +1,29 @@
|
||||
#!/bin/sh
|
||||
|
||||
# you need to change this if you run from outside this dir.
|
||||
if [ "$WXROOT" = "" ]; then
|
||||
WXROOT=../../..
|
||||
fi
|
||||
|
||||
. $WXROOT/distrib/scripts/includes/configure_build.inc
|
||||
|
||||
. $WXROOT/distrib/scripts/mac/mac_options.inc
|
||||
|
||||
# most of this script is shared with other Mac-based and other
|
||||
# configure-based build scripts, which is why this looks a little empty.
|
||||
|
||||
if [ "$UNIVERSAL" = "1" ]; then
|
||||
OTHER_OPTS="--enable-universal_binary "
|
||||
fi
|
||||
|
||||
do_build
|
||||
|
||||
make prefix=$INSTALLDIR install
|
||||
|
||||
if [ "$WXPYTHON" == "1" ]; then
|
||||
make -C contrib/src/animate prefix=$INSTALLDIR install
|
||||
make -C contrib/src/gizmos prefix=$INSTALLDIR install
|
||||
make -C contrib/src/stc prefix=$INSTALLDIR install
|
||||
fi
|
||||
|
||||
cd $OLDDIR
|
Reference in New Issue
Block a user