Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
31 lines (30 sloc) 567 Bytes
{
"targets": [
{
"target_name": "serialport2",
"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"
]
}
]
]
}
]
}