diff options
author | Graeme Geldenhuys <graeme@mastermaths.co.za> | 2013-01-04 12:11:13 +0000 |
---|---|---|
committer | Graeme Geldenhuys <graeme@mastermaths.co.za> | 2013-01-04 12:11:13 +0000 |
commit | b854f14b8b4814c7540f7190451697d5a90fb701 (patch) | |
tree | a760a3df74ebc4382752e9403d4aefddc82cd404 /src | |
parent | d08853f0a57903653fea0d39e57a6a7c1b98320e (diff) | |
download | fpGUI-b854f14b8b4814c7540f7190451697d5a90fb701.tar.xz |
Enabled fpGUI+AggPas compiling via scripts or fpmake
Diffstat (limited to 'src')
-rwxr-xr-x | src/build.sh | 3 | ||||
-rw-r--r-- | src/extrafpc.cfg | 5 | ||||
-rw-r--r-- | src/fpmake.pas | 4 |
3 files changed, 10 insertions, 2 deletions
diff --git a/src/build.sh b/src/build.sh index a067b849..8f90fdae 100755 --- a/src/build.sh +++ b/src/build.sh @@ -11,5 +11,8 @@ if [ ! -d $libpath ]; then echo ' ' fi +# Default build fpc -dRELEASE -dX11 @extrafpc.cfg corelib/x11/fpgui_toolkit.pas +# experimental AggPas-enabled Canvas under X11 +#fpc -dRELEASE -dX11 -dAGGCanvas @extrafpc.cfg corelib/x11/fpgui_toolkit.pas diff --git a/src/extrafpc.cfg b/src/extrafpc.cfg index eeab72f6..24f678b2 100644 --- a/src/extrafpc.cfg +++ b/src/extrafpc.cfg @@ -14,7 +14,8 @@ # Your options are: # -dX11 for X11 support (eg: Linux or FreeBSD) # -dGDI for Windows GDI support -# -dCarbon for Mac OS X Carbon support. +# -dCarbon for Mac OS X Carbon support +# -dAGGCanvas for the experimental AggPas-enabled Canvas support # @@ -81,7 +82,7 @@ -Fugui/ -Fugui/db/ -Fureportengine/ - +-Fucorelib/render/software/ # Unit output path diff --git a/src/fpmake.pas b/src/fpmake.pas index c040aba2..8e0b1b5f 100644 --- a/src/fpmake.pas +++ b/src/fpmake.pas @@ -80,6 +80,9 @@ begin else Defaults.Options.Add('-dGDI'); + { to try the experimental AggPas-enabled Canvas class } +// Defaults.Options.Add('-dAGGCanvas'); + P.SourcePath.Add('corelib'); P.SourcePath.Add('corelib/x11', AllUnixOSes); P.SourcePath.Add('corelib/gdi', AllWindowsOSes); @@ -93,6 +96,7 @@ begin P.UnitPath.Add('gui'); P.UnitPath.Add('gui/db'); P.UnitPath.Add('reportengine'); + P.UnitPath.Add('corelib/render/software/'); P.IncludePath.Add('.'); P.IncludePath.Add('corelib'); |