node-serialport-bindings-cpp/binding.gyp
2012-06-26 22:57:16 -04:00

30 lines
566 B
Python

{
"targets": [
{
"target_name": "serialport",
"sources": [
"src/serialport.cpp",
"src/serialport_unix.cpp",
"src/serialport.h"
],
'conditions': [
['OS=="win"',
{
'sources': [
"src/serialport_win.cpp",
'src/win/disphelper.c',
'src/win/disphelper.h'
]
}
],
['OS!="win"',
{
'sources': [
"src/serialport_unix.cpp"
]
}
]
]
}
]
}