-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfosdem20.gpr
45 lines (33 loc) · 1.13 KB
/
fosdem20.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
with "clib_geometry_msgs_rosidl_typesupport_c";
with "rcl";
project Fosdem20 is
for Source_Dirs use ("src");
for Languages use ("Ada");
for Object_Dir use "obj";
for Exec_Dir use "bin";
for Library_Dir use "lib";
for Create_Missing_Dirs use "True";
for Main use (
"turtlesim_command.adb"
);
package Builder is
for Switches ("ada") use ("-j0", "-g");
end Builder;
package Compiler is
for Switches ("ada") use ("-gnatVa",
"-gnatwa",
"-g",
"-O2",
"-gnata",
"-gnato",
"-fstack-check");
for Switches ("C") use ("-Wall",
"-Wextra",
"-Wpedantic");
-- Silence irrelevant warnings on automatic bindings
for Switches ("rclx-*.ads") use Compiler'Switches ("ada") & ("-gnatwU");
end Compiler;
package Binder is
for Switches ("ada") use ("-Es"); -- Symbolic backtraces
end Binder;
end Fosdem20;