simple dub question - avoiding creating a vibed project
Laeeth Isharc via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Mon Jan 5 02:27:05 PST 2015
Hi.
I am building an example for hibernated (I put a main around the
sample code extract from the website).
How do I stop dub trying to build a vibed project?
Here is my dub.json
{
"name": "ddbc example",
"description": "example for DB Connector for D language,
similar to JDBC",
"authors": ["Vadim Lopatin","Laeeth Isharc"],
"homepage": "https://github.com/buggins/ddbc",
"license": "Boost Software License (BSL 1.0)",
"dependencies": {
"mysql-native": ">=0.0.12",
"ddbc": ">=0.2.16",
},
"targetType": "executable",
"libs-posix": ["sqlite3", "pq"],
"libs-windows": ["sqlite3", "libpq"],
"copyFiles-windows-x86": [ "libs/win32/sqlite3.dll",
"libs/win32/libpq.dll", "libs/win32/intl.dll" ],
"sourceFiles-windows-x86" : [ "libs/win32/sqlite3.lib",
"libs/win32/libpq.lib" ],
"targetPath": ".",
}
More information about the Digitalmars-d-learn
mailing list