forked from cforler/Ada-Crypto-Library
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlibadacrypt.gpr
More file actions
26 lines (21 loc) · 753 Bytes
/
libadacrypt.gpr
File metadata and controls
26 lines (21 loc) · 753 Bytes
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
project LibAdaCrypt is
for Library_Name use "adacrypt-0.8";
for Library_Kind use "static";
for Library_Dir use "lib";
for Library_Src_Dir use "lib";
for Object_Dir use "src";
for Source_Dirs use ("src");
type Mode_Type is ("debug", "release");
Mode : Mode_Type := external ("mode", "release");
package Builder is
for Default_Switches ("ada") use ("-j4", "-we");
end Builder;
package Compiler is
case Mode is
when "debug" =>
for Default_Switches ("ada") use ("-gnatwa", "-g", "-Werror", "-gnatn", "-gnat12");
when "release" =>
for Default_Switches ("ada") use ("-gnatwa", "-O3", "-Werror", "-gnatn", "-gnat12");
end case;
end Compiler;
end LibAdaCrypt;