-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathweechat_emoji.gpr
34 lines (25 loc) · 1019 Bytes
/
weechat_emoji.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 "weechat_ada";
with "emojis";
with "config/weechat_emoji_config";
project Weechat_Emoji is
for Library_Name use "weechat_emoji";
for Library_Version use "ada-emoji.so";
for Create_Missing_Dirs use "True";
for Source_Dirs use ("src");
for Object_Dir use "build/obj/" & Weechat_Emoji_Config.Build_Profile;
for Library_Dir use "build/lib";
type Library_Type_Type is ("relocatable", "static", "static-pic");
Library_Type : Library_Type_Type :=
external ("WEECHAT_EMOJI_LIBRARY_TYPE", external ("LIBRARY_TYPE", "relocatable"));
for Library_Kind use Library_Type;
-- Stand-alone library
for Library_Interface use ("plugin_emoji");
for Library_Standalone use "encapsulated";
package Compiler is
for Default_Switches ("Ada") use Weechat_Emoji_Config.Ada_Compiler_Switches;
for Local_Configuration_Pragmas use "gnat.adc";
end Compiler;
package Binder is
for Switches ("Ada") use ("-Es"); -- Symbolic traceback
end Binder;
end Weechat_Emoji;