Files
gui/windows/sources.cmake
Neo-DesktopandClaude Opus 5.5 22d7b4d2cd Find the modem automatically in Line Settings
Line Settings searches the serial ports (windows/src/ports.cpp) and
has a "Look for a modem" button. When it finds a modem, it selects the
serial port line, the port and hardware flow control.

- Windows: the installed modems (the Modem class in the registry, for
  9x and NT), the MultiTech USB modems (Enum\USB), and the ports of
  SERIALCOMM, else COM1 to COM16.
- Linux: /sys/class/tty (ttyUSB, ttyACM) with the USB maker and
  product. A MultiTech MT9234MU with no port gets the firmware advice
  of the old GTK app.
- macOS: /dev/cu.* (cu.usbmodem is a modem).

The COM port line now opens a device path (/dev/ttyUSB0) as it is on
Linux and macOS. The port name holds 64 characters.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRUx6MjNXmAFKULZu3U
Signed-off-by: Neo-Desktop <321592+Neo-Desktop@users.noreply.github.com>
2026-11-28 13:36:36 +00:00

22 lines
411 B
CMake

# The sources of the Windows app, for windows/ and winport/ (the same
# app on Linux and macOS)
set(DMODEM_WIN_SOURCES
main.cpp
link.cpp
pages.cpp
term.cpp
settings.cpp
pathview.cpp
config.cpp
voice.cpp
audio.cpp
termview.cpp
remote.cpp
xfer.cpp
capture.cpp
ascii.cpp
termset.cpp
calls.cpp
ports.cpp)
list(TRANSFORM DMODEM_WIN_SOURCES PREPEND "${CMAKE_CURRENT_LIST_DIR}/src/")