mirror of
https://github.com/D-Modem/gui.git
synced 2026-11-28 14:19:58 -08:00
First pass: TCP and SSH. With -DDMODEM_GUI_WINPORT=ON and CLANG_RETRO_MFC set to a clang-retro MFC checkout, winport/ builds libwinport.a with the MFC Makefile, converts app.rc with res2cpp.py, and links the same Win32 sources (now listed once, in windows/sources.cmake) as dmodem-win32. The layer does not have serial ports, pipes or audio yet: winport/include and winport/src/stubs.cpp supply stand-ins that fail, to remove when the layer gets these functions. DMODEM_WINPORT blocks in the app: the settings in ~/.config/D-Modem, TCP as the default line, ~/.ssh and '/' for SSH, Unicode marks in the path view (no Wingdings), and group boxes put under the other controls (the layer's hit test stops at HTTRANSPARENT). CI builds it on Linux and macOS, and on Linux starts it in Xvfb against a test modem on the TCP port (winport/test/smoke.sh). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01B82eRRhKGCaYUyYtH7Boap
16 lines
336 B
CMake
16 lines
336 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)
|
|
list(TRANSFORM DMODEM_WIN_SOURCES PREPEND "${CMAKE_CURRENT_LIST_DIR}/src/")
|