]> git.saurik.com Git - wxWidgets.git/blob - utils/configtool/scripts/makeapp
Implement wxBitmapButton::DoGetBestSize() to call wxButtonBase version so
[wxWidgets.git] / utils / configtool / scripts / makeapp
1 #!/bin/sh
2 # Build application
3
4 # The first argument is debug or release
5 LEVEL=$1
6
7 # Then you can supply one or more makefile targets
8 TARGET="$2 $3 $4 $5 $6 $6 $7 $8 $9"
9
10 if [ "$1" = "" ] || [ "$2" = "" ]; then
11 echo Usage: makeapp debug/release full/wx/genericapp/cleanall
12 exit
13 fi
14
15 export APPDIR=$WXWIN/utils/configtool
16 export WXDIR=$WXWIN
17 export WXBUILDDIR=wxwin-build-$LEVEL
18
19 # If there's no wxwin-build-... directory yet, the makefile
20 # must include a dummy makeprog.env
21 export USEDUMMYMAKEPROG="0"
22 if [ ! -f $WXBUILDDIR/src/makeprog.env ]; then
23 USEDUMMYMAKEPROG="1"
24 fi
25
26 make -f ${APPDIR}/src/Makefile WXDIR=$WXDIR USEDUMMYMAKEPROG=$USEDUMMYMAKEPROG APPDIR=$APPDIR WXBUILDDIR=$WXBUILDDIR LEVEL=$LEVEL $TARGET