diff options
author | graemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf> | 2008-07-16 09:03:07 +0000 |
---|---|---|
committer | graemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf> | 2008-07-16 09:03:07 +0000 |
commit | 320ce4e735e508c2f924f4c6dd85638aeda64fb0 (patch) | |
tree | 42baefa6b5d3e378aef407e4cf5244d354d29901 /examples/gui/compileall.sh | |
parent | 6272816b16c7de17709e204b2ec53fe95bae7fa1 (diff) | |
download | fpGUI-320ce4e735e508c2f924f4c6dd85638aeda64fb0.tar.xz |
* Added compile fix for Splash Screen demo from MvC.
* Added the compileall.sh script supplied by Michael van Canneyt for the GUI examples.
* Removed all compiler warnings and hints from the GUI examples.
Diffstat (limited to 'examples/gui/compileall.sh')
-rwxr-xr-x | examples/gui/compileall.sh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/examples/gui/compileall.sh b/examples/gui/compileall.sh new file mode 100755 index 00000000..151c6666 --- /dev/null +++ b/examples/gui/compileall.sh @@ -0,0 +1,16 @@ +#!/bin/sh +FPC=fpc +for f in `find -name '*.lpr'` +do + DIR=`dirname $f` + PROJECT=`basename $f` + LPRNAME=`basename $PROJECT .lpr` + echo Doing $LPRNAME + cd $DIR + if [ ! -d units ]; then + echo 'Missing units dir' + mkdir units + fi + $FPC @extrafpc.cfg $PROJECT; + cd .. +done |