-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoptimaiden.gpr
41 lines (33 loc) · 1.28 KB
/
optimaiden.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
with "config/optimaiden_config.gpr";
with "externals/utilada/2.6.0_99ca46a1/utilada_sys.gpr";
with "externals/utilada/2.6.0_99ca46a1/utilada_base.gpr";
with "externals/utilada/2.6.0_99ca46a1/utilada_core.gpr";
project Optimaiden is
for Languages use ("Ada", "C");
for Source_Dirs use
(
"src/", "config/","programs/",
"externals/cif-streaming-parser/r174/trunk/src/",
"externals/cif-streaming-parser/r174/trunk/src/externals/cexceptions",
"externals/cif-streaming-parser/r174/trunk/src/externals/codcif"
-- ,"externals/json_ada/fda3e8b1/json/src"
);
for Object_Dir use "obj/" & Optimaiden_Config.Build_Profile;
for Create_Missing_Dirs use "True";
for Exec_Dir use "bin";
for Main use ("optimaiden.adb","write.adb","cif_print_datablock_names.adb");
package Compiler is
for Default_Switches ("Ada") use Optimaiden_Config.Ada_Compiler_Switches;
for Default_Switches ("C")
use ("-fPIE", "-DHAS_VSNPRINTF");
end Compiler;
-- package Binder is
-- for Switches ("Ada") use ("-Es"); -- Symbolic traceback
-- end Binder;
package Linker is
for Default_Switches ("Ada") use ("-lm");
end Linker;
package Install is
for Artifacts (".") use ("share");
end Install;
end Optimaiden;