summaryrefslogtreecommitdiff
path: root/examples/readme.txt
blob: 80aaeee6710071034309c1e842985b965b98e905 (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

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

You need to compile the fpGUI toolkit first as mentioned in 
the ../src/readme.txt file.

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 it's 
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


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