-
Notifications
You must be signed in to change notification settings - Fork 1
/
vt100.gpr
30 lines (24 loc) · 1003 Bytes
/
vt100.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
project VT100 is
Version := "0.1";
for Languages use ("Ada");
for Source_Dirs use ("src");
for Object_Dir use "obj";
for Library_Name use "vt100";
for Library_Dir use "lib";
for Library_Kind use "dynamic";
for Library_Version use "libvt100.so." & Version;
for Source_Files use ("vt100.ads", "vt100.adb",
"vt100-utils.ads", "vt100-utils.adb");
package Compiler is
CPU := external ("CPU", "-m64 -mssse3 -march=native -fPIC");
OPT := ("-O3", "-fomit-frame-pointer");
WARN := ("-Wall");
STYLE := ("-gnaty2aAbdefhiklM80nOprSux");
Ada_Switches := ("-gnat05", "-gnata", "-gnatE", "-gnato", "-fstack-check");
for Default_Switches ("Ada") use Ada_Switches & CPU & OPT & WARN & STYLE;
C_Switches := ("-O3", "-C99", "-fstack-check");
for Default_Switches ("C") use C_Switches & CPU & OPT & WARN;
Fortran_Switches := ();
for Default_Switches ("Fortran") use Fortran_Switches & CPU & OPT & WARN;
end Compiler;
end VT100;