Always use a parallel vcpkg directory instead of the Visual Studio
default vcpkg, because installing there requires elevation and doesn't
always work.
Signed-off-by: Rafael Kitover <rkitover@gmail.com>
Remove explicit include and framework paths which were only there to
work around hidden code inserted by the NSA to break our build.
Adjust CMake dist builds to support flags in the `CC` and `CXX`
environment variables, which CMake does not like.
Fix the error in the build environment block caused by using a glob by
using `find` with a shell expansion instead.
Set the build root include path with `-isystem` as the first element of
`CPPFLAGS`.
Remove the doxygen dist, as it should not be needed anymore.
Signed-off-by: Rafael Kitover <rkitover@gmail.com>
Remove the outdated patch to fix the alert sound in the override in
`macOS/builder`, the working patch is in `core.sh`.
Signed-off-by: Rafael Kitover <rkitover@gmail.com>
Add a patch to our build of wxWidgets for macOS to fix the alert sound
bug, as described here:
https://github.com/wxWidgets/wxWidgets/issues/25262#issuecomment-2745905462
. Add a macro to disable our workaround for this bug when a CMake option
indicating that this patch was applied is `TRUE`.
Signed-off-by: Rafael Kitover <rkitover@gmail.com>
Followup on 8ced18c2 (build: make OpenAL-Soft optional again,
2025-05-22), put the sources for OpenAL support in the right place in
the CMake file for the build to work.
Signed-off-by: Rafael Kitover <rkitover@gmail.com>
Add the CMake option `ENABLE_OPENAL` which defaults to `ON` except for
32 bit Windows builds, because OpenAL-Soft uses `avrt.dll` which is not
available on Windows XP.
Update README.md.
Fix linking `libsamplerate` for the `x86-mingw-static` triplet which we
use for 32 bit Windows XP builds.
Make some minor fixes to SDL3 detection and SDL2 fallback.
Clean up the audio API selection code paths.
Signed-off-by: Rafael Kitover <rkitover@gmail.com>
Fix x86 32 bit build for Windows XP.
Set the `WINVER` and `_WIN32_WINNT` macros to the value for Windows XP.
Disable XAudio for these builds.
Add the missing `inet_pton()` and `inet_ntop()` functions for SFML.
Fix a FetchContent warning in the CMake as well.
Signed-off-by: Rafael Kitover <rkitover@gmail.com>