-
Notifications
You must be signed in to change notification settings - Fork 0
/
cargame.gpr
39 lines (32 loc) · 1.12 KB
/
cargame.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
-- begin auto-gpr-with --
-- This section was automatically added by Alire
with "opengl-glfw.gpr";
with "opengl.gpr";
-- end auto-gpr-with --
with "gnatcoll";
project Cargame is
for Languages use ("ada", "c");
for Source_Dirs use ("src");
for Object_Dir use "obj";
for Exec_Dir use ".";
for Main use ("cargame-main.adb");
for Create_Missing_Dirs use "True";
for Library_Options use ("-Lobj", "-shared");
package Builder is
for Executable ("cargame-main.adb") use "cargame";
end Builder;
package Compiler is
for Default_Switches ("c") use ("-O2", "-s", "-Wp,-w");
for Default_Switches ("ada") use
("-gnatwa", -- All warnings
"-gnatVa", -- All validity checks
-- Style checks, see https://gcc.gnu.org/onlinedocs/gnat_ugn/Style-Checking.html
-- "-gnaty3aAbcdefhiklprsStux",
"-gnatm80", -- Limit lines to 80 columns
"-gnatyO", -- Overriding subprograms must be marked as such
"-gnata", -- Enable assertions and contract checks
"-gnat2020", -- Ada 2020
"-g" -- Enable debugging
);
end Compiler;
end Cargame;