summaryrefslogtreecommitdiff
path: root/examples/readme.txt
blob: 05331e24a2fbcba104e8adcb94beabe81ffa9db0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28

            Compiling the fpGUI Demos


 Compiling any of the examples from the Command Line
 ===================================================

You need to compile the fpGUI toolkit first as mentioned in the
README.txt file located in the <fpgui>/docs/ directory.

I'll assume the fpc executable path has been setup so you can execute 'fpc'
from any directory. Every project in the 'examples' directory has its
own extrafpc.cfg file. You only need to specify that config file and the
project's main unit to compile it.

The format is as follows:
  fpc @extrafpc.cfg <project main unit>

Example:
    fpc @extrafpc.cfg docedit.lpr
  or
    fpc @extrafpc.cfg helloworld.pas


      =======================================================