mirror of
https://github.com/siemens-mobile-hacks/node-serialport-bindings-cpp.git
synced 2026-11-26 02:47:17 +00:00
New serial ports list method for Win32 allows enumerate some virtual COM ports not listed in Device Manager
33 lines
672 B
Python
33 lines
672 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',
|
|
'src/win/enumser.cpp',
|
|
'src/win/enumser.h',
|
|
'src/win/stdafx.h'
|
|
]
|
|
}
|
|
],
|
|
['OS!="win"',
|
|
{
|
|
'sources': [
|
|
"src/serialport_unix.cpp"
|
|
]
|
|
}
|
|
]
|
|
]
|
|
}
|
|
]
|
|
}
|