blob: 3d3394acff98d5722a313702afeb5ea134579a07 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#!/bin/bash
fpcbin=fpc
fpctarget=`$fpcbin -iTP`-`$fpcbin -iTO`
#echo $fpctarget
libpath='../lib/'$fpctarget
# Must we create the output directory?
if [ ! -d $libpath ]; then
echo 'creating directory: '$libpath
mkdir $libpath
echo ' '
fi
# Default build
$fpcbin -dRELEASE -dX11 @extrafpc.cfg corelib/x11/fpgui_toolkit.pas
# experimental AggPas-enabled Canvas under X11
#$fpcbin -dRELEASE -dX11 -dAGGCanvas @extrafpc.cfg corelib/x11/fpgui_toolkit.pas
|