node-serialport-bindings-cpp/binding.gyp
2013-04-07 14:34:51 -04:00

29 lines
546 B
Python

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