-
Notifications
You must be signed in to change notification settings - Fork 14
/
utilada_xml.gpr.in
46 lines (34 loc) · 1.26 KB
/
utilada_xml.gpr.in
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
with "utilada_conf";
with "utilada_core";
with "utilada_sys";
@WITH_XML_ADA@
library project UtilAda_Xml is
Version := UtilAda_Conf.Version;
Has_Xml : UtilAda_Conf.Yes_No := UtilAda_Conf.Has_Xml;
for Source_Dirs use ();
for Library_Name use "utilada_xml";
for Library_Kind use UtilAda_Conf.Library_Type;
for Library_Version use "lib" & Project'Library_Name & ".so." & Version;
case Has_XML is
when "yes" =>
for Source_Dirs use Project'Source_Dirs & ("src/sys/serialize/xml");
when "no" =>
null;
end case;
package Naming is
for Implementation ("Util.Serialize.IO.XML.Get_Location")
use "util-serialize-io-xml-get_location-xmlada-4.adb";
end Naming;
case UtilAda_Conf.Library_Type is
when "relocatable" =>
for Library_Options use (UtilAda_Conf.Library_Options);
when others =>
null;
end case;
for Library_Dir use "lib/" & Project'Library_Name & "/" & Project'Library_Kind;
for Object_Dir use "obj/" & Project'Library_Name & "/" & Project'Library_Kind;
package Builder renames UtilAda_Conf.Builder;
package Compiler renames UtilAda_Conf.Compiler;
package Ide renames UtilAda_Conf.Ide;
package Binder renames UtilAda_Core.Binder;
end UtilAda_Xml;