• src/syncdraw/CMakeLists.txt

    From Deuc¨@VERT to Git commit to main/sbbs/master on Monday, September 07, 2026 19:54:26
    https://gitlab.synchro.net/main/sbbs/-/commit/f012bc9c57da19f9fab54a6d
    Modified Files:
    src/syncdraw/CMakeLists.txt
    Log Message:
    Add the "new" encode and hash libs

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Tuesday, September 08, 2026 21:25:38
    https://gitlab.synchro.net/main/sbbs/-/commit/9806bc149db7cd16971d545e
    Modified Files:
    src/syncdraw/CMakeLists.txt
    Log Message:
    syncdraw: fix the Windows entry point for each executable

    xpdev's gen_defs.h includes <SDL.h> when WITH_SDL_AUDIO is set, and SDL's SDL_main.h redefines main as SDL_main; ciolib.h in turn redefines it as CIOLIB_main. Either way a console-subsystem link finds no main, and all
    three executables failed to link with LNK2019.

    Build syncdraw and fontutil as WIN32-subsystem executables so they pick
    up the WinMain in ciolib's SDL_win32_main.c, as syncterm already does,
    and define SDL_MAIN_HANDLED for buildfont, a plain console tool that
    doesn't use ciolib.

    Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net