-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathj2ada.gpr
30 lines (25 loc) · 915 Bytes
/
j2ada.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
project j2ada is
for Languages use ("Ada");
for Source_Dirs use ("src");
for Object_Dir use "obj";
for Exec_Dir use "bin";
for Main use ("j2ada.adb");
package Compiler is
for Switches ("ada") use ("-gnatW8", "-gnatU", "-gnatf", "-gnatVaep", "-gnatw.eDH.Y.N",
"-fstack-check", "-g", "-gnato", "-gnatE", "-gnata",
"-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 ("J2ADA_LINKER_FLAGS", "");
end Linker;
package Pretty_Printer is
for Default_Switches ("ada") use ("-M120", "-W8", "--comments-unchanged");
end Pretty_Printer;
end j2ada;