mirror of
https://github.com/D-Modem/gui.git
synced 2026-11-28 14:19:58 -08:00
Remove the SwiftUI app for macOS (macos/, cmake/MacosEmbed.cmake, cmake/macos-embed/) and the GTK 4 app for Linux (linux/). The Win32 app (windows/) is now the canonical GUI on Windows, and on Linux and macOS over the portable Win32 layer of clang-retro MFC (winport/). - CMake: remove DMODEM_GUI_LINUX and the Xcode support. With no DMODEM_GUI_WINPORT, Linux and macOS build only the libraries and their tests. The built-in modem is on by default for Windows and winport. - winport: install the app, its desktop entry, AppStream data, icon and the MT9234MU firmware on Linux (firmware/ moves to the top). - CI: the "core" job keeps the library, sanitizer and sshd tests on Linux. The macOS library tests move to the winport-macos job. The linux and macos jobs and their nightly files are removed. - Docs, site and comments: describe one Win32 app. 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>
51 lines
1.2 KiB
CMake
51 lines
1.2 KiB
CMake
# libdmodemctl: the part of the desktop app that does not draw, in plain
|
|
# C with no dependencies. Static by default; a DLL for a P/Invoke caller
|
|
# (-DDMODEMCTL_SHARED=ON).
|
|
option(DMODEMCTL_SHARED "Build libdmodemctl as a shared library" OFF)
|
|
|
|
set(DMODEMCTL_SOURCES
|
|
src/session.c
|
|
src/model.c
|
|
src/diag.c
|
|
src/path.c
|
|
src/vt.c
|
|
src/vt_charsets.c
|
|
src/vt_data.c
|
|
src/vt_dec.c
|
|
src/vt_fonts.c
|
|
src/vt_gfx.c
|
|
src/vt_keys.c
|
|
src/vt_machine.c
|
|
src/vt_profiles.c
|
|
src/vt_regis.c
|
|
src/vt_rip.c
|
|
src/vt_vt52.c
|
|
src/daemon.c
|
|
src/voice.c
|
|
src/net.c
|
|
src/util.c
|
|
src/xfer.c
|
|
src/xfer_hex.c
|
|
src/xfer_kermit.c
|
|
src/xfer_xy.c
|
|
src/xfer_z.c
|
|
src/zstd_codec.c)
|
|
|
|
if(DMODEMCTL_SHARED)
|
|
add_library(dmodemctl SHARED ${DMODEMCTL_SOURCES})
|
|
target_compile_definitions(dmodemctl PRIVATE DMC_BUILD_DLL)
|
|
set_target_properties(dmodemctl PROPERTIES C_VISIBILITY_PRESET hidden)
|
|
else()
|
|
add_library(dmodemctl STATIC ${DMODEMCTL_SOURCES})
|
|
endif()
|
|
target_include_directories(dmodemctl PUBLIC include)
|
|
if(MSVC)
|
|
target_compile_options(dmodemctl PRIVATE /W4 /wd4996)
|
|
else()
|
|
target_compile_options(dmodemctl PRIVATE -Wall -Wextra -Wshadow)
|
|
endif()
|
|
if(UNIX)
|
|
find_package(Threads REQUIRED)
|
|
target_link_libraries(dmodemctl PRIVATE m Threads::Threads)
|
|
endif()
|