-
Notifications
You must be signed in to change notification settings - Fork 0
/
pcre.gpr
59 lines (49 loc) · 2.04 KB
/
pcre.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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
project Pcre is
for Create_Missing_Dirs use "True";
type BUILD_KIND is ("static", "relocatable", "static-pic");
BUILD : BUILD_KIND := external ("LIBRARY_TYPE", "static");
for Source_Dirs use ("src/**", ".", "sed");
for Object_Dir use ".obj";
for Library_Name use "APcre";
for Library_Dir use "lib";
for Languages use ("Ada", "C++", "MarkDown", "Makefile", "Sed");
package Pretty_Printer is
for Default_Switches ("ada") use ("-M128",
"-N",
"-c3",
"-c4",
"-c5",
"-A1",
"-A0",
"-A3",
"-A4",
"-A5",
"-A2",
"-e",
"--comments-unchanged",
"--source-line-breaks",
"--vertical-enum-types");
end Pretty_Printer;
package Builder is
for Switches ("Ada") use ("-j0", "-k", "-g", "-s");
end Builder;
package Compiler is
for Driver ("C++") use "";
for Driver ("MarkDown") use "";
for Driver ("Makefile") use "";
for Driver ("Sed") use "";
for Switches ("Ada") use ("-gnat2020",
"-g",
"-gnatf",
"-fdata-sections",
"-ffunction-sections",
"-gnatwa",
"-gnatyBabcdfhikln");
end Compiler;
package Naming is
for Body_Suffix ("makefile") use ".mk";
for Body_Suffix ("MarkDown") use ".md";
for Body_Suffix ("sed") use ".sed";
for Implementation_Exceptions ("makefile") use ("Makefile");
end Naming;
end Pcre;