-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathopenapi.gpr
27 lines (20 loc) · 844 Bytes
/
openapi.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
with "openapi_config";
with "utilada_sys";
with "security";
library project Openapi is
Version := "0.7.0";
Library_Dir := "lib";
Library_Type : Openapi_Config.Library_Type_Type := external ("OPENAPI_LIBRARY_TYPE", "static");
for Source_Dirs use ("src");
for Library_Name use "openapi";
for Library_Kind use Library_Type;
for Library_Version use "lib" & Project'Library_Name & ".so." & Version;
for Library_Dir use "lib/openapi/" & Project'Library_Kind;
for Object_Dir use "obj/openapi/" & Project'Library_Kind;
package Builder renames Openapi_Config.Builder;
package Compiler renames Openapi_Config.Compiler;
package Ide renames Openapi_Config.Ide;
package Binder is
for Default_Switches ("Ada") use Openapi_Config.Binder'Default_Switches ("Ada") & ("-a");
end Binder;
end Openapi;