Skip to content

Commit

Permalink
Add binding.gyp file for use in node v0.10.0
Browse files Browse the repository at this point in the history
  • Loading branch information
David Swift committed Mar 15, 2013
1 parent f1275ab commit 42b596b
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions binding.gyp
@@ -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)'
]
}
}
]
}

0 comments on commit 42b596b

Please sign in to comment.