-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathhonki_tonks_zivilisationen.gpr
72 lines (54 loc) · 2.4 KB
/
honki_tonks_zivilisationen.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
59
60
61
62
63
64
65
66
67
68
69
70
71
with "config/honki_tonks_zivilisationen_config.gpr";
with "Spieleentwicklungsbibliothek/HonkiTonksSpieleentwicklungsbibliothek.gpr";
project Honki_Tonks_Zivilisationen is
type Betriebssystem_Type is ("Linux", "Windows");
Betriebssystem : Betriebssystem_Type := external ("Betriebssystem", "Linux");
type Status_Type is ("Entwicklung", "Veroeffentlichung");
Status : Status_Type := external ("Status", "Veroeffentlichung");
for Main use ("HonkiTonksZivilisationen.adb");
for Exec_Dir use "Honki Tonks Zivilisationen";
for Object_Dir use "obj_alire/" & Honki_Tonks_Zivilisationen_Config.Build_Profile;
for Create_Missing_Dirs use "True";
case Betriebssystem is
when "Linux" =>
case Status is
when "Entwicklung" =>
for Source_Dirs use ("src/**", "srcBS/EntwicklungLinux", "config");
when "Veroeffentlichung" =>
for Source_Dirs use ("src/**", "srcBS/VereoffentlichungLinux", "config");
end case;
when "Windows" =>
case Status is
when "Entwicklung" =>
for Source_Dirs use ("src/**", "srcBS/EntwicklungWindows", "config");
when "Veroeffentlichung" =>
for Source_Dirs use ("src/**", "srcBS/VereoffentlichungWindows", "config");
end case;
end case;
package Compiler is
for Default_Switches ("ada") use ("-gnatW8", "-ffunction-sections", "-fdata-sections", "-O3", "-gnatn", "-funroll-loops", "-flto", "-fstack-check", "-gnat2022", "-fPIC", "-gnatVacdefimoprst",
"-gnatw.a.bc.c_cd.df.fg.gh.hi.ij.jk.kl.lm.m.nop.o.p_pq.qr.r.zzy.xx.ww.vv.uu.tt.s_r.e.Ye", "-gnatyaA-defhiknOprSxM222lCL8s");
for Local_Configuration_Pragmas use "Alire Pragmas";
end Compiler;
package Builder is
for Switches ("ada") use ("-gnatW8", "-k", "-j4", "-C", "-s");
end Builder;
package Binder is
for Switches ("Ada") use ("-Es", "-W8"); -- Symbolic traceback
end Binder;
package Pretty_Printer is
for Default_Switches ("ada") use ("-W8");
end Pretty_Printer;
package Install is
for Artifacts (".") use ("share");
end Install;
package Naming is
for Casing use "MixedCase";
end Naming;
package Prove is
for Proof_Switches ("ada") use ("-j4");
end Prove;
package Linker is
for Switches ("ada") use ("-Wl,--gc-sections", "-flto", "-s");
end Linker;
end Honki_Tonks_Zivilisationen;