-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcoap_spark.gpr
More file actions
52 lines (39 loc) · 1.38 KB
/
Copy pathcoap_spark.gpr
File metadata and controls
52 lines (39 loc) · 1.38 KB
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
-- SPARKLib will be installed by Alire when installing the
-- gnatprove dependency.
with "sparklib.gpr";
with "config/coap_spark_config.gpr";
project Coap_Spark is
for Library_Name use "Coap_Spark";
for Library_Version use Project'Library_Name & ".so." & Coap_Spark_Config.Crate_Version;
for Source_Dirs use ("src/", "config/", "generated/");
for Object_Dir use "obj/" & Coap_Spark_Config.Build_Profile;
for Create_Missing_Dirs use "True";
for Library_Dir use "lib";
type Library_Type_Type is ("relocatable", "static", "static-pic");
Library_Type : Library_Type_Type :=
external ("COAP_SPARK_LIBRARY_TYPE", external ("LIBRARY_TYPE", "static"));
for Library_Kind use Library_Type;
package Compiler is
for Default_Switches ("Ada") use Coap_Spark_Config.Ada_Compiler_Switches;
end Compiler;
package Binder is
for Switches ("Ada") use ("-Es"); -- Symbolic traceback
end Binder;
package Install is
for Artifacts (".") use ("share");
end Install;
package Prove is
for Proof_Dir use "proof";
for Proof_Switches ("Ada") use (
"-j0",
"--mode=silver",
"--prover=z3,cvc5,altergo,colibri",
"--steps=0",
"--timeout=360",
"--memlimit=4000",
"--checks-as-errors=on",
"--warnings=error",
"--counterexamples=on"
);
end Prove;
end Coap_Spark;