-
Notifications
You must be signed in to change notification settings - Fork 0
/
Parser_Library.gpr
40 lines (31 loc) · 1.01 KB
/
Parser_Library.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
37
38
39
40
project Parser_Library is
for Source_Dirs use (".");
for Object_Dir use ".obj";
for Exec_Dir use ".obj";
for Languages use ("Ada");
for Main use ("Parser_Library");
package Naming is
for Casing use "mixedcase";
for Dot_Replacement use ".";
for Spec_Suffix ("Ada") use ".ads";
for Body_Suffix ("Ada") use ".adb";
for Separate_Suffix use ".ada";
end Naming;
package Builder is
for Default_Switches ("Ada") use ("-s");
for Executable ("Parser_Library") use "Parser_Library";
end Builder;
package Compiler is
for Default_Switches ("Ada") use
("-fstack-check", -- stack checking
"-gnata", -- enable assertions
"-gnat12", -- Ada 2012
"-gnatA", -- avoid processing `gnat.adc'
"-gnatn", -- backend inlining
"-gnato", -- overflow checking
"-gnatVa", -- validity checks
"-gnatL", -- print expanded source
"-gnatD" -- save expanded source
);
end Compiler;
end Parser_Library;