-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomponents-odbc.gpr
More file actions
58 lines (52 loc) · 1.99 KB
/
components-odbc.gpr
File metadata and controls
58 lines (52 loc) · 1.99 KB
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
47
48
49
50
51
52
53
54
55
56
57
58
with "components.gpr";
with "odbc/odbc.gpr";
with "tables.gpr";
project Components.ODBC is
Common_Files :=
( "odbc.ads",
"odbc-api.adb",
"odbc-api.ads",
"odbc-architecture_dependent.ads",
"odbc-api-keys-arrays.ads",
"odbc-api-keys-edit.ads",
"odbc-api-keys-sets.ads",
"odbc-api-keys.adb",
"odbc-api-keys.ads",
"odbc-api-links.adb",
"odbc-api-links.ads",
"odbc-bound_parameters.adb",
"odbc-bound_parameters.ads",
"odbc-driver_dependent.ads",
"odbc-sqltypes.adb",
"odbc-sqltypes.ads",
"odbc-thin.adb",
"odbc-thin.ads",
"persistent-native_odbc.adb",
"persistent-native_odbc.ads",
"persistent-native_odbc-text_io.adb",
"persistent-native_odbc-text_io.ads"
);
case ODBC.ODBC_Driver is
when "ODBC32" =>
case Tables.Arch is
when "x86_64" | "aarch64" | "auto" =>
for Source_Dirs use (".", "./odbc", "./odbc/odbc32", "./odbc/odbc32/x86_64");
when "i686" | "armhf" =>
for Source_Dirs use (".", "./odbc", "./odbc/odbc32", "./odbc/odbc32/i686");
end case;
for Source_Files use Common_Files;
when "unixODBC" | "auto" =>
case Tables.Arch is
when "x86_64" | "aarch64" | "auto" =>
for Source_Dirs use (".", "./odbc", "./odbc/unixodbc", "./odbc/unixodbc/x86_64");
when "i686" | "armhf" =>
for Source_Dirs use (".", "./odbc", "./odbc/unixodbc", "./odbc/unixodbc/i686");
end case;
for Source_Files use Common_Files;
end case;
for Object_Dir use Components'Object_Dir;
package Compiler renames Components.Compiler;
package Binder renames Components.Binder;
package Builder renames Components.Builder;
package Linker renames Components.Linker;
end Components.ODBC;