-
Notifications
You must be signed in to change notification settings - Fork 3
/
google-protobuf.gpr
31 lines (25 loc) · 1.02 KB
/
google-protobuf.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
with "google.gpr";
library project Google.Protobuf is
for Source_Dirs use ("google-protobuf.src", ".");
for Library_Name use "google-protobuf";
for Library_Dir use "lib";
for Object_Dir use ".obj/" & project'Name;
for Languages use ("Ada", "C", "Makefile", "project file","MarkDown","Text");
package Compiler is
for Driver ("Makefile") use "";
for Driver ("Text") use "";
for Driver ("project file") use "";
for Driver ("MarkDown") use "";
for Switches ("ada") use ("-g", "-O2", "-ffunction-sections", "-gnatQ", "-fdata-sections", "-fPIC", "-gnatf", "-gnatwa");
end Compiler;
package Builder is
for Switches ("ada") use ("-j0", "-k", "-g", "-s");
end Builder;
package Naming is
-- for Body_Suffix ("project file") use ".gpr";
for Body_Suffix ("Makefile") use ".mk";
for Body_Suffix ("MarkDown") use ".md";
for Body_Suffix ("Text") use ".txt";
for Implementation_Exceptions ("Makefile") use ("Makefile");
end Naming;
end Google.Protobuf;