• src/syncterm/CMakeLists.txt

    From Deuc¿@VERT to Git commit to main/sbbs/master on Friday, October 11, 2024 00:26:21
    https://gitlab.synchro.net/main/sbbs/-/commit/7e9951c23dda414a13b47567
    Modified Files:
    src/syncterm/CMakeLists.txt
    Log Message:
    Linux needs libutil for forkpty() too.

    Except when it doesn't... it's harmless to link with it then though.
    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Saturday, October 12, 2024 12:09:30
    https://gitlab.synchro.net/main/sbbs/-/commit/62d75f508abc729599e7a7c7
    Modified Files:
    src/syncterm/CMakeLists.txt
    Log Message:
    Do a Windows build if GDI or SDL is enabled.

    Kinda hacky to do it here.
    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Friday, January 24, 2025 10:33:44
    https://gitlab.synchro.net/main/sbbs/-/commit/d1f8b8df2f3abd06455533b7
    Modified Files:
    src/syncterm/CMakeLists.txt
    Log Message:
    Fix path
    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Friday, July 24, 2026 00:05:35
    https://gitlab.synchro.net/main/sbbs/-/commit/d790b6569203929880f2c2e5
    Modified Files:
    src/syncterm/CMakeLists.txt
    Log Message:
    Preserve the theme test main entry point

    theme_test inherits WITH_SDL_AUDIO from xpdev, which causes gen_defs.h
    to include SDL.h. On Windows, SDL then replaces main with SDL_main,
    leaving the CMake-generated console target without the entry point that
    the MSVC runtime expects.

    Define SDL_MAIN_HANDLED privately for theme_test so SDL leaves its entry
    point alone. Verify the target with a Windows cross-build and run the
    native SyncTERM test suite.

    Co-authored-by: OpenAI Codex <[email protected]>
    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Friday, July 24, 2026 00:10:51
    https://gitlab.synchro.net/main/sbbs/-/commit/bddf00e4dab139cb5d89eb1a
    Modified Files:
    src/syncterm/CMakeLists.txt
    Log Message:
    Merge branch 'master' of gitlab.synchro.net:main/sbbs
    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Friday, July 24, 2026 14:21:23
    https://gitlab.synchro.net/main/sbbs/-/commit/4c3c4eb84359dfb3cc6da460
    Modified Files:
    src/syncterm/CMakeLists.txt
    Log Message:
    Fix MSVC entry points for xpdev-backed tests

    xmodem_cancel_test and conn_buffer_test inherit WITH_SDL_AUDIO from
    xpdev, which causes SDL to remap main on Windows. Define
    SDL_MAIN_HANDLED privately so the generated console projects retain the
    entry point expected by MSVCRT.

    Co-authored-by: OpenAI Codex <[email protected]>
    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Friday, July 31, 2026 14:10:57
    https://gitlab.synchro.net/main/sbbs/-/commit/e6b13932b112da1377373570
    Modified Files:
    src/syncterm/CMakeLists.txt
    Log Message:
    Add ssh.c after the DeuceSSH probe

    CMake populated the source list before the DeuceSSH configure probe
    could force WITHOUT_DEUCESSH on. A failed probe therefore still tried
    to compile ssh.c without the DeuceSSH headers or library.

    Add ssh.c directly to the target only when DeuceSSH remains enabled
    after the probe.

    Closes !708

    Co-authored-by: Andy Alt <[email protected]>
    Co-authored-by: OpenAI Codex <[email protected]>
    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Sunday, August 02, 2026 20:45:56
    https://gitlab.synchro.net/main/sbbs/-/commit/385588557c133cf28a524094
    Modified Files:
    src/syncterm/CMakeLists.txt
    Log Message:
    build: link Crypt32 with vendored Botan

    Propagate Botan's CryptoAPI dependency through the vendored
    CMake target when its Windows certificate-store module is enabled.

    Co-Authored-By: Codex <[email protected]>
    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Monday, August 03, 2026 23:43:35
    https://gitlab.synchro.net/main/sbbs/-/commit/87cc48fa2783ed203710f0a6
    Modified Files:
    src/syncterm/CMakeLists.txt
    Log Message:
    syncterm: preserve ini crypt test entry point on Windows

    The xpdev usage requirements enable SDL audio, which makes gen_defs.h
    include SDL headers. On Windows those headers remap main to SDL_main, but
    the standalone ini_crypt_test links as a normal console executable and therefore fails with an unresolved main symbol.

    Define SDL_MAIN_HANDLED for this test, as the neighboring non-SDL test
    targets already do, so its ordinary main entry point remains intact.

    Co-Authored-By: OpenAI Codex <[email protected]>
    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Tuesday, August 11, 2026 18:29:29
    https://gitlab.synchro.net/main/sbbs/-/commit/dc36222529f23697cbc82b8a
    Modified Files:
    src/syncterm/CMakeLists.txt
    Log Message:
    Fix MSVC SSH log test linking

    Keep SDL from remapping the test entry point and link the vendored Botan target explicitly. Use the C++ linker for Botan-backed test builds.

    Co-Authored-By: OpenAI Codex <[email protected]>
    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net