-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathautomate.gpr
35 lines (26 loc) · 990 Bytes
/
automate.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
with "lib_uxstrings3.gpr";
project Automate is
for Object_Dir use "obj";
for Exec_Dir use "bin";
for Main use ("genauto.adb", "robot.adb");
for Source_Dirs use ("src", "robot");
for Create_Missing_Dirs use "True";
package Compiler is
for Switches ("ada") use ("-gnatW8", "-gnatU", "-gnatf", "-gnatVaep", "-gnatw.eDH.Y.N",
"-fstack-check", "-g", "-gnato", "-gnata", "-gnat2022",
"-gnateE", "-gnateF", "-gnateV", "-Wall");
for Local_Configuration_Pragmas use "pragma_debug.adc";
end Compiler;
package Binder is
for Default_Switches ("ada") use ("-Es");
end Binder;
package Builder is
for Default_Switches ("ada") use ("-s");
end Builder;
package Linker is
for Default_Switches ("ada") use ("-g") & external ("GENAUTO_LINKER_FLAGS", "");
end Linker;
package Pretty_Printer is
for Default_Switches ("ada") use ("-M120", "-W8", "--comments-unchanged");
end Pretty_Printer;
end Automate;