forked from AdaDoom3/AdaDoom3
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdoom3.gpr
31 lines (24 loc) · 806 Bytes
/
doom3.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 Doom3 is
for Object_Dir use "obj";
for Exec_Dir use "obj";
for Main use ("main.adb");
type Os_Type is
("Linux", "Windows");
Os : Os_Type := external ("OS", "Windows");
type Cpu_Type is
("PowerPC", "x86-64", "x86");
Cpu : Cpu_Type := external ("CPU", "x86-64");
type Compiler_Type is
("GNAT");
Compiler : Compiler_Type := external ("Compiler", "GNAT");
for Source_Dirs use (".", Os, Compiler, Cpu);
package Ide is
for Documentation_Dir use "doc";
end Ide;
package Builder is
for Default_Switches ("ada") use ("-j4", "-k", "-g", "-C", "-s");
end Builder;
package Compiler is
for Default_Switches ("ada") use ("-O3", "-gnato", "-fstack-check", "-gnatE", "-g", "-gnata", "-gnat12");
end Compiler;
end Doom3;