blob: 421095bbd0e55d29338ca91a2b563eba5b9cde9b (
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
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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
|
//
// AggPas 2.4 RM3 compiler options configuration file
//
{DEFINE AGG_DEBUG }
//----------------------------------------------------------------------------
{$IFDEF CPUPOWERPC }
{$DEFINE AGG_CPU_PPC }
{$ENDIF }
{$IFDEF CPUI386 }
{$DEFINE AGG_CPU_386 }
{$ENDIF }
{$IFDEF CPU386 }
{$DEFINE AGG_CPU_386 }
{$ENDIF }
{$IFDEF CPUx86_64 }
{$DEFINE AGG_CPU_x86_64 }
{$ENDIF }
{$IFDEF FPC }
{$MODE DELPHI }
{$ENDIF }
// OS
{$IFDEF WIN32 }
{$DEFINE AGG_WINDOWS }
{$ENDIF }
{$IFDEF WINDOWS }
{$DEFINE AGG_WINDOWS }
{$IFNDEF AGG2D_NO_FONT}
{$DEFINE AGG2D_USE_WINFONTS}
{$ENDIF}
{$ENDIF }
{$Warning fpGUI supports other *nix flavours too (FreeBSD, Solaris etc), so this
needs to be extended at some point. }
{$IFDEF LINUX }
{$DEFINE AGG_LINUX }
{$IFNDEF AGG2D_NO_FONT}
{$DEFINE AGG2D_USE_FREETYPE}
{$ENDIF}
{$ENDIF }
{$Warning Experimental FreeBSD support - totally untested! }
{$IFDEF FREEBSD }
{$DEFINE AGG_LINUX }
{$IFNDEF AGG2D_NO_FONT}
{$DEFINE AGG2D_USE_FREETYPE}
{$ENDIF}
{$ENDIF }
{$IFDEF DARWIN }
{$DEFINE AGG_MACOSX }
{$ENDIF }
//----------------------------------------------------------------------------
{$IFDEF AGG_DEBUG }
{$DEFINE AGG_FULL_DEBUG }
{$ENDIF }
//----------------------------------------------------------------------------
{ SWITCHES CONFIGURATION }
{$IFNDEF FPC }
{$A- }{ Fields alignment OFF }
{$F+ }{ Far code generation }
{$ENDIF }
{$HINTS OFF }
{$WARNINGS OFF }
{$B- }{ Complete boolean evaluation }
{$V- }{ String type checking }
{$X+ }{ Extended syntax }
{$IFDEF AGG_FULL_DEBUG }
{$R+ }{ Range checking }
{$I+ }{ IO checking }
{$Q+ }{ Overflow checking }
{$IFNDEF FPC }
{$O- }{ Code Optimization }
{$ENDIF }
{$D+ }{ Debug Info ON }
{$Y+ }{ References Info ON }
{$ELSE }
{$R- }{ Range checking }
{$I- }{ IO checking }
{$Q- }{ Overflow checking }
{ Code Optimization }
{$IFNDEF FPC }
{$IFDEF AGG_OPTIMIZE }
{$O+ }
{$ELSE }
{$O- }
{$ENDIF }
{$ENDIF }
{$D- }{ Debug Info OFF }
{$IFNDEF FPC}
{$Y- }{ References Info OFF }
{$ENDIF}
{$ENDIF }
{$IFNDEF AGG2D_USE_WINFONTS}
{$IFNDEF AGG2D_USE_FREETYPE}
{$DEFINE AGG2D_NO_FONT}
{$ENDIF}
{$ENDIF}
|