-
Notifications
You must be signed in to change notification settings - Fork 14
/
utilada_curl.gpr
34 lines (26 loc) · 1.01 KB
/
utilada_curl.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
with "utilada_conf";
with "utilada_sys";
library project UtilAda_Curl is
Version := UtilAda_Conf.Version;
case UtilAda_Conf.Has_Curl is
when "yes" =>
for Source_Dirs use ("src/sys/http/curl");
for Library_Name use "utilada_curl";
for Library_Kind use UtilAda_Conf.Library_Type;
for Library_Version use "lib" & Project'Library_Name & ".so." & Version;
for Library_Dir use "lib/utilada_curl/" & Project'Library_Kind;
for Object_Dir use "obj/utilada_curl/" & Project'Library_Kind;
case Utilada_Conf.Library_Type is
when "relocatable" =>
for Library_Options use ("-lcurl");
when others =>
null;
end case;
when "no" =>
for Source_Dirs use ();
end case;
package Builder renames UtilAda_Conf.Builder;
package Compiler renames UtilAda_Conf.Compiler;
package Ide renames UtilAda_Conf.Ide;
package Binder renames UtilAda_Sys.Binder;
end UtilAda_Curl;