]> git.saurik.com Git - wxWidgets.git/blob - distrib/scripts/mac/dobuilds
glibc's vswprintf doesn't nul terminate on truncation.
[wxWidgets.git] / distrib / scripts / mac / dobuilds
1 #!/bin/sh
2
3 HOMEDIR="$PWD"
4
5 BUILDDIR_ROOT="$PWD/builds"
6
7 export WXROOT="$HOMEDIR/../../.."
8
9 do_builds {
10 PORT=$1
11 BUILDDIR=$BUILDDIR_ROOT/$PORT
12 mkdir -p $BUILDDIR
13 pushd $BUILDDIR
14
15 # TODO: add the lipo universal builds to this
16 export WXROOT="$HOMEDIR/../../.."
17 export INSTALLDIR="$BUILDDIR/install-ansi"
18 $HOMEDIR/macbuild $PORT
19
20 export INSTALLDIR="$BUILDDIR/install-unicode"
21 $HOMEDIR/macbuild $PORT unicode
22
23 export INSTALLDIR="$BUILDDIR/install-static-ansi"
24 $HOMEDIR/macbuild $PORT static
25
26 export INSTALLDIR="$BUILDDIR/install-static-unicode"
27 $HOMEDIR/macbuild $PORT static unicode
28
29 popd
30 }
31
32 do_builds "carbon"
33
34 do_builds "cocoa"