-
Notifications
You must be signed in to change notification settings - Fork 1
/
run_aida_tests.gpr
40 lines (32 loc) · 1.12 KB
/
run_aida_tests.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
with "ahven";
project Run_Aida_Tests is
for Source_Dirs use ("src/tests");
for Object_Dir use "obj";
for Exec_Dir use "bin";
for Main use ("run_aida_tests.adb");
for Create_Missing_Dirs use "true";
-- To be able to compile this gpr file with
-- "gprbuild run_aida_tests.gpr" instead of
-- "gprbuild -p run_aida_tests.gpr"
package Builder is
for Default_Switches ("ada") use ("-j4");
end Builder;
package Compiler is
for Default_Switches ("ada") use
("-gnat12",
"-g",
"-gnatf", -- Full, verbose error messages
"-gnatwa", -- All optional warnings
"-gnatVa", -- All validity checks
"-gnatwe", -- Treat warnings as errors
"-gnata", -- Enable assertions
"-Wall" -- All GCC warnings
);
end Compiler;
package Linker is
for Default_Switches ("ada") use ("-g");
end Linker;
package Binder is
for Default_Switches ("ada") use ("-Es");
end Binder;
end Run_Aida_Tests;