Clarify MSVC-only bundled SDL support

This commit is contained in:
Bram Verhulst
2026-04-12 23:26:29 +02:00
parent 1ba1c1f2cc
commit fda94f8246
3 changed files with 38 additions and 7 deletions

View File

@@ -88,7 +88,9 @@ For the longer version, troubleshooting, and platform notes, see [`BUILDING.md`]
* Visual Studio 2022 with the Desktop development with C++ workload
* CMake 3.21 or newer
The repository already contains prebuilt SDL2 / SDL2_image / SDL2_mixer / SDL2_ttf Windows packages in `Libraries/`, and the CMake build will use those by default.
The repository already contains prebuilt SDL2 / SDL2_image / SDL2_mixer / SDL2_ttf Windows packages in `Libraries/`, and the CMake build will use those by default for **MSVC / Visual Studio** builds.
If you use **CLion with MinGW**, do **not** use the bundled SDL package. It is the Visual C++ SDL build and is not a proper MinGW dependency set.
#### Linux
Install the development packages first.
@@ -125,6 +127,7 @@ After building, run the generated executable from the build output directory so
* The original `.sln` and `.vcxproj` files are still present and can still be used in Visual Studio.
* The CMake build creates the same two logical targets as the solution: `Engine` and `Motherload`.
* On non-Windows platforms, SDL dependencies are expected to come from the system package manager.
* On Windows, the bundled SDL dependencies are intended for **MSVC**, not MinGW.
<p align="right">(<a href="#readme-top">back to top</a>)</p>