-
Notifications
You must be signed in to change notification settings - Fork 57
/
Copy pathextrafpc.cfg
98 lines (77 loc) · 1.68 KB
/
extrafpc.cfg
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
#
# fpc.cfg for Free Pascal Compiler
#
# nested #IFNDEF, #IFDEF, #ENDIF, #ELSE, #DEFINE, #UNDEF are allowed
#
# -d is the same as #DEFINE
# -u is the same as #UNDEF
#
# * * * I M P O R T A N T * * *
# You need to specify which backend you are compiling for
#
# Your options are:
# -dX11 for X11 support (eg: Linux or FreeBSD)
# -dGDI for Windows GDI support
# -dCocoa for Mac OS X Carbon support
# -dAGGCanvas for the experimental AggPas-enabled Canvas support
#
# Force always building all units
-B
# Turn on Object Pascal extensions by default
-Mobjfpc
# Allow inline and use ansistrings.
-Sih
# Allows C-style assignment += -= etc.
-Sc
# Slashes are also allowed under DOS-like systems
# searchpath for include files
-Fi.
-Ficorelib
#IFDEF X11
-Ficorelib/x11/
#ENDIF
#IFDEF GDI
-Ficorelib/gdi/
#ENDIF
#IFDEF Cocoa
#DEFINE AggCanvas
-Ficorelib/cocoa/
#ENDIF
# searchpath for units and other system dependent things
-Fu.
-Fucorelib/
#IFDEF X11
#WRITE Compiling X11 CoreLib
-Fucorelib/x11/
#ENDIF
#IFDEF GDI
#WRITE Compiling GDI CoreLib
-Fucorelib/gdi/
#ENDIF
#IFDEF Cocoa
#WRITE Compiling Cocoa CoreLib
-Fucorelib/cocoa/
#ENDIF
-Fugui/
-Fugui/db/
-Fureportengine/
-Fucorelib/render/software/
-Fu3rdparty/regex
# Unit output path
-FU../lib/$fpctarget/
# Generate debugging information (slows down the compiling process)
# Enable debug info and use the line info unit by default
-gl
# Always strip debuginfo from the executable
#-Xs
# Write always a nice FPC logo ;)
-l
# Verbose compiler output
# Display Info, Warnings, Notes and Hints
#-viwn
#
# If you don't want so much verbosity use
#-vw
#
# Show only errors
-ve