-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathaudio_wavefiles.gpr
52 lines (39 loc) · 1.56 KB
/
audio_wavefiles.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
with "audio_base.gpr";
library project Audio_Wavefiles is
type Build_Type is
("DEBUG", "RELEASE");
Build : Build_Type := external ("WAVEFILES_BUILD_MODE", external ("BUILD", "DEBUG"));
for Source_Dirs use ("src/**");
for Object_Dir use "./obj";
for Create_Missing_Dirs use "True";
for Library_Name use "wavefiles";
for Library_Dir use "lib";
for Library_Version use "2.0.0";
type Library_Type_Type is ("relocatable", "static", "static-pic");
Library_Type : Library_Type_Type :=
external ("WAVEFILES_LIBRARY_TYPE",
external ("LIBRARY_TYPE", "static"));
for Library_Kind use Library_Type;
package Ide is
for Vcs_Kind use "git";
for Documentation_Dir use "./doc";
end Ide;
package Builder is
for Switches ("ada") use ("-j0", "-g");
end Builder;
package Compiler is
case Build is
when "DEBUG" =>
for Switches ("ada") use ("-g", "-O0", "-gnata", "-gnato", "-fstack-check", "-gnatVa", "-gnatwa", "-gnaty3ACIM79Oabcdefhiklnprstux");
when "RELEASE" =>
for Switches ("Ada") use ("-O2", "-gnatn", "-gnatwa");
for Switches ("ada") use ("-g", "-O0", "-gnata", "-gnato", "-fstack-check", "-gnatVa", "-gnatwa", "-gnaty3ACIM79Oabcdefhiklnprstux");
end case;
end Compiler;
package Pretty_Printer is
for Default_Switches ("ada") use ("-A0", "-A1", "-A2", "-A3", "-A4", "-A5", "-c4", "-c3", "--separate-loop-then");
end Pretty_Printer;
package Binder is
for Switches ("ada") use ("-Es");
end Binder;
end Audio_Wavefiles;