-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathseptum.gpr
51 lines (42 loc) · 1.54 KB
/
septum.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
46
47
48
49
50
51
-- begin auto-gpr-with --
-- This section was automatically added by Alire
with "atomic.gpr";
with "config/septum_config.gpr";
with "dir_iterators.gpr";
with "progress_indicators.gpr";
with "trendy_terminal.gpr";
-- end auto-gpr-with --
project Septum is
Septum_Sources := ("src/common", "config/");
type Platform_Type is ("windows", "linux", "macos");
Platform : Platform_Type := external ("Septum_Platform");
case Platform is
when "windows" => Septum_Sources := Septum_Sources & "src/windows";
when "linux" => Septum_Sources := Septum_Sources & "src/linux";
when "macos" => Septum_Sources := Septum_Sources & "src/mac";
end case;
for Source_Dirs use Septum_Sources;
for Object_Dir use "obj/" & Septum_Config.Build_Profile;
for Create_Missing_Dirs use "True";
for Exec_Dir use "bin";
for Main use ("septum.adb");
package Binder is
for Switches ("Ada") use ("-Es"); -- Symbolic traceback
end Binder;
package Compiler is
for Default_Switches ("Ada") use Septum_Config.Ada_Compiler_Switches;
end Compiler;
package Pretty_Printer is
for Default_Switches ("ada") use (
"-i4", -- Indentation level
"-M120", -- Line length
"-c0", -- Don't change comments.
"--no-separate-is",
"--no-separate-loop-then",
"-l2" -- Compact layout
);
end Pretty_Printer;
package Install is
for Artifacts (".") use ("share");
end Install;
end Septum;