forked from mk270/whitakers-words
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathshared.gpr
36 lines (32 loc) · 1.08 KB
/
shared.gpr
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
abstract project Shared is
Adaflags := External_As_List ("ADAFLAGS", " ");
Ldflags := External_As_List ("LDFLAGS", " ");
package Compiler is
for Switches ("Ada") use
(-- warnings
"-gnatwae", "-Wall",
"-fstack-check",
-- Enable overflow checking in STRICT (-gnato1) mode (default)
"-gnato",
-- Generate extra information in exception messages
"-gnateE",
-- Assertions enabled. Pragma Assert/Debug to be activated
"-gnata",
-- Enable unique tag for error messages
"-gnatU",
-- Full errors. Verbose details, all undefined references
"-gnatf",
-- Generate debugging information
"-g",
-- Don't quit, write ali/tree file even if compile errors
"-gnatQ",
-- Style
"-gnaty3aAbefhiklnOM80prtSux")
-- Put user settings last so that they may override the
-- default values.
& Adaflags;
end Compiler;
package Linker is
for Default_Switches ("Ada") use Ldflags;
end Linker;
end Shared;