mirror of https://github.com/adamdruppe/arsd.git
dub.json changes for database modules
This commit is contained in:
parent
2344fbb1d0
commit
1d8b8f2a10
30
dub.json
30
dub.json
|
@ -120,38 +120,46 @@
|
||||||
{
|
{
|
||||||
"name": "mysql",
|
"name": "mysql",
|
||||||
"description": "MySQL client library. Wraps the official C library with my database.d interface.",
|
"description": "MySQL client library. Wraps the official C library with my database.d interface.",
|
||||||
"targetType": "sourceLibrary",
|
"targetType": "library",
|
||||||
"dependencies": {"arsd-official:database_base":"*"},
|
"dependencies": {"arsd-official:database_base":"*"},
|
||||||
"libs-posix": ["mysqlclient"],
|
"libs-posix": ["mysqlclient"],
|
||||||
"libs-windows": ["libmysql"],
|
"libs-windows": ["libmysql"],
|
||||||
"sourceFiles": ["mysql.d"]
|
"sourceFiles": ["mysql.d"],
|
||||||
|
"importPaths": ["."],
|
||||||
|
"dflags": ["-mv=arsd.mysql=mysql.d"]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "postgres",
|
"name": "postgres",
|
||||||
"description": "Postgresql client library. Wraps the libpq C library with my database.d interface.",
|
"description": "Postgresql client library. Wraps the libpq C library with my database.d interface.",
|
||||||
"targetType": "sourceLibrary",
|
"targetType": "library",
|
||||||
"dependencies": {"arsd-official:database_base":"*"},
|
"dependencies": {"arsd-official:database_base":"*"},
|
||||||
"libs": ["pq"],
|
"libs": ["pq"],
|
||||||
"sourceFiles": ["postgres.d"]
|
"sourceFiles": ["postgres.d"],
|
||||||
|
"importPaths": ["."],
|
||||||
|
"dflags": ["-mv=arsd.postgres=postgres.d"]
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
"name": "sqlite",
|
"name": "sqlite",
|
||||||
"description": "sqlite wrapper. Wraps the official C library with my database.d interface.",
|
"description": "sqlite wrapper. Wraps the official C library with my database.d interface.",
|
||||||
"targetType": "sourceLibrary",
|
"targetType": "library",
|
||||||
"dependencies": {"arsd-official:database_base":"*"},
|
"dependencies": {"arsd-official:database_base":"*"},
|
||||||
"libs": ["sqlite3"],
|
"libs": ["sqlite3"],
|
||||||
"libs-posix": ["dl"],
|
"libs-posix": ["dl"],
|
||||||
"sourceFiles": ["sqlite.d"]
|
"sourceFiles": ["sqlite.d"],
|
||||||
|
"importPaths": ["."],
|
||||||
|
"dflags": ["-mv=arsd.sqlite=sqlite.d"]
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
"name": "mssql",
|
"name": "mssql",
|
||||||
"description": "Microsoft SQL Server client library. Wraps the official ODBC library with my database.d interface.",
|
"description": "Microsoft SQL Server client library. Wraps the official ODBC library with my database.d interface.",
|
||||||
"targetType": "sourceLibrary",
|
"targetType": "library",
|
||||||
"dependencies": {"arsd-official:database_base":"*"},
|
"dependencies": {"arsd-official:database_base":"*"},
|
||||||
"libs-windows": ["odbc32"],
|
"libs-windows": ["odbc32"],
|
||||||
"sourceFiles": ["mssql.d"]
|
"sourceFiles": ["mssql.d"],
|
||||||
|
"importPaths": ["."],
|
||||||
|
"dflags": ["-mv=arsd.mssql=mssql.d"]
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
|
@ -200,8 +208,10 @@
|
||||||
{
|
{
|
||||||
"name": "database_base",
|
"name": "database_base",
|
||||||
"description": "Basic database interface definitions. Use one (or more) of the drivers like arsd-official:mysql or arsd-official:postgres instead",
|
"description": "Basic database interface definitions. Use one (or more) of the drivers like arsd-official:mysql or arsd-official:postgres instead",
|
||||||
"targetType": "sourceLibrary",
|
"targetType": "library",
|
||||||
"sourceFiles": ["database.d"]
|
"sourceFiles": ["database.d"],
|
||||||
|
"importPaths": ["."],
|
||||||
|
"dflags": ["-mv=arsd.database=database.d"]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue