-
Notifications
You must be signed in to change notification settings - Fork 45
/
dub.json
140 lines (140 loc) · 5.59 KB
/
dub.json
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
{
"name": "ddbc",
"description": "DB Connector for D language, similar to JDBC (mysql, sqlite, postgresql, odbc)",
"authors": ["Vadim Lopatin"],
"homepage": "https://github.com/buggins/ddbc",
"license": "BSL-1.0",
"targetPath": "lib",
"targetType": "staticLibrary",
"buildRequirements": [
"allowWarnings"
],
"toolchainRequirements": {
"dub": ">=1.14.0",
"frontend": ">=2.097"
},
"systemDependencies": "Depending on configuration: PostgreSQL and/or SQLite v3",
"configurations": [
{
"name": "full",
"versions": ["USE_MYSQL", "USE_SQLITE", "USE_PGSQL", "USE_ODBC"],
"dependencies": {
"mysql-native": "~>3.1.0",
"derelict-pq": "~>2.2.0",
"odbc": "~>1.0.0"
},
"libs-posix": ["sqlite3", "odbc"],
"libs-windows": ["odbc32"],
"lflags-osx-x86_64": ["-L/usr/local/opt/sqlite3/lib/"],
"lflags-osx-aarch64": ["-L/opt/homebrew/opt/sqlite3/lib/"],
"copyFiles-windows-x86": [ "libs/win32/sqlite3.dll", "libs/win32/libpq.dll"],
"copyFiles-windows-x86_64": [ "libs/win64/libpq.dll", "libs/win64/sqlite3.dll"],
"sourceFiles-windows-x86_64" : [ "libs/win64/sqlite3.lib" ],
"sourceFiles-windows-x86-ldc" : [ "libs/win32-mscoff/sqlite3.lib"],
"sourceFiles-windows-x86_omf-dmd" : [ "libs/win32/sqlite3.lib"],
"sourceFiles-windows-x86_mscoff-dmd" : [ "libs/win32-mscoff/sqlite3.lib"]
},
{
"name": "full-omf",
"platforms": ["windows-x86"],
"versions": ["USE_MYSQL", "USE_SQLITE", "USE_PGSQL", "USE_ODBC"],
"dependencies": {
"mysql-native": "~>3.1.0",
"derelict-pq": "~>2.2.0",
"odbc": "~>1.0.0"
},
"libs-windows": ["odbc32"],
"copyFiles-windows-x86": [ "libs/win32/sqlite3.dll", "libs/win32/libpq.dll"],
"sourceFiles-windows-x86" : [ "libs/win32/sqlite3.lib"]
},
{
"name": "MySQL",
"versions": ["USE_MYSQL"],
"dependencies": {
"mysql-native": "~>3.1.0"
}
},
{
"name": "SQLite",
"versions": ["USE_SQLITE"],
"libs-posix": ["sqlite3"],
"lflags-osx-x86_64": ["-L/usr/local/opt/sqlite3/lib/"],
"lflags-osx-aarch64": ["-L/opt/homebrew/opt/sqlite3/lib/"],
"copyFiles-windows-x86": [ "libs/win32/sqlite3.dll" ],
"copyFiles-windows-x86_64": [ "libs/win64/sqlite3.dll" ],
"sourceFiles-windows-x86_64" : [ "libs/win64/sqlite3.lib" ],
"sourceFiles-windows-x86-ldc" : [ "libs/win32-mscoff/sqlite3.lib" ],
"sourceFiles-windows-x86_omf-dmd" : [ "libs/win32/sqlite3.lib" ],
"sourceFiles-windows-x86_mscoff-dmd" : [ "libs/win32-mscoff/sqlite3.lib" ]
},
{
"name": "SQLite-omf",
"platforms": ["windows-x86-dmd"],
"versions": ["USE_SQLITE"],
"copyFiles-windows-x86": [ "libs/win32/sqlite3.dll" ],
"sourceFiles-windows-x86" : [ "libs/win32/sqlite3.lib" ]
},
{
"name": "PGSQL",
"versions": ["USE_PGSQL"],
"libs-posix": ["pq"],
"copyFiles-windows-x86": [ "libs/win32/libpq.dll"],
"copyFiles-windows-x86_64": [ "libs/win64/libpq.dll"],
"dependencies": {
"derelict-pq": "~>2.2.0"
}
},
{
"name": "ODBC",
"versions": ["USE_ODBC"],
"libs-posix": ["odbc"],
"libs-windows": ["odbc32"],
"dependencies": {
"odbc": "~>1.0.0"
}
},
{
"name": "API"
},
{
"name": "test",
"sourcePaths" : ["test/ddbctest"],
"mainSourceFile": "test/ddbctest/main.d",
"targetName": "ddbc-tests",
"targetPath": "test",
"targetType": "executable",
"versions": ["USE_MYSQL", "USE_SQLITE", "USE_PGSQL", "USE_ODBC"],
"dependencies": {
"d-unit": "~>0.10.2",
"mysql-native": "~>3.1.0",
"derelict-pq": "~>2.2.0",
"odbc": "~>1.0.0"
},
"libs-posix": ["sqlite3", "pq", "odbc"],
"libs-windows": ["odbc32"],
"lflags-osx-x86_64": ["-L/usr/local/opt/sqlite3/lib/"],
"lflags-osx-aarch64": ["-L/opt/homebrew/opt/sqlite3/lib/"],
"copyFiles-windows-x86": [ "libs/win32/sqlite3.dll" ],
"copyFiles-windows-x86_64": [ "libs/win64/sqlite3.dll" ],
"sourceFiles-windows-x86_64" : [ "libs/win64/sqlite3.lib" ],
"sourceFiles-windows-x86-ldc" : [ "libs/win32-mscoff/sqlite3.lib" ],
"sourceFiles-windows-x86_omf-dmd" : [ "libs/win32/sqlite3.lib" ],
"sourceFiles-windows-x86_mscoff-dmd" : [ "libs/win32-mscoff/sqlite3.lib" ]
},
{
"name": "test-omf",
"platforms": ["windows-x86-dmd"],
"sourcePaths" : ["test/ddbctest"],
"mainSourceFile": "test/ddbctest/main.d",
"targetName": "ddbc-tests",
"targetPath": "test",
"targetType": "executable",
"dependencies": {
"d-unit": "~>0.10.2"
},
"versions": ["USE_SQLITE"],
"copyFiles-windows-x86": [ "libs/win32/sqlite3.dll" ],
"sourceFiles-windows-x86-dmd" : [ "libs/win32/sqlite3.lib" ]
}
]
}