forked from buggins/ddbc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
dub.json
82 lines (82 loc) · 2.98 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
{
"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"
],
"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.0.0",
"derelict-pq": "~>2.2.0"
},
"libs-posix": ["sqlite3", "odbc"],
"libs-windows": ["sqlite3", "odbc"],
"lflags-osx": ["-L/usr/local/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" : [ "libs/win32/sqlite3.lib"]
},
{
"name": "MySQL",
"versions": ["USE_MYSQL"],
"dependencies": {
"mysql-native": "~>3.0.0"
}
},
{
"name": "SQLite",
"versions": ["USE_SQLITE"],
"libs-posix": ["sqlite3"],
"libs-windows": ["sqlite3"],
"lflags-osx": ["-L/usr/local/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" : [ "libs/win32/sqlite3.lib" ]
},
{
"name": "PGSQL",
"versions": ["USE_PGSQL"],
"libs-posix": ["pq"],
"libs-windows": ["libpq"],
"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"]
},
{
"name": "API"
},
{
"name": "test",
"sourcePaths" : ["test/ddbctest"],
"mainSourceFile": "test/ddbctest/main.d",
"targetName": "ddbc-tests",
"targetPath": "test",
"targetType": "executable",
"versions": ["USE_SQLITE"],
"libs-posix": ["sqlite3"],
"libs-windows": ["sqlite3"],
"lflags-osx": ["-L/usr/local/opt/sqlite3/lib/"],
"copyFiles-windows-x86": [ "libs/win32/sqlite3.dll" ],
"sourceFiles-windows-x86" : [ "libs/win32/sqlite3.lib" ]
}
]
}