Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add binding.gyp file for use in node v0.10.0
- Loading branch information
David Swift
committed
Mar 15, 2013
1 parent
f1275ab
commit 42b596b
Showing
1 changed file
with
39 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
{ | ||
"targets": [ | ||
{ | ||
"target_name": "mysql_bindings", | ||
'include_dirs': [ | ||
'lib/', | ||
'.', | ||
'<!@(mysql_config --include)' | ||
], | ||
'cflags': [ | ||
'<!@(mysql_config --cflags)' | ||
], | ||
'cflags!': [ | ||
'-fno-exceptions' | ||
], | ||
'cflags_cc!': [ | ||
'-fno-exceptions' | ||
], | ||
"sources": [ | ||
"lib/node-db/exception.cc", | ||
"lib/node-db/binding.cc", | ||
"lib/node-db/connection.cc", | ||
"lib/node-db/events.cc", | ||
"lib/node-db/query.cc", | ||
"lib/node-db/result.cc", | ||
"src/connection.cc", | ||
"src/mysql.cc", | ||
"src/query.cc", | ||
"src/result.cc", | ||
"src/mysql_bindings.cc" | ||
], | ||
'link_settings': { | ||
'libraries': [ | ||
'<!@(mysql_config --libs_r)' | ||
] | ||
} | ||
} | ||
] | ||
} |