From 7ed4b197db16f0df3ddfddb4cfe6078a96d7e9ec Mon Sep 17 00:00:00 2001 From: dawidg81 Date: Thu, 12 Feb 2026 12:54:05 +0100 Subject: Updated README.md; Updated main.cpp; --- README.md | 22 ++-------------------- 1 file changed, 2 insertions(+), 20 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 6fc7036..ac59927 100644 --- a/README.md +++ b/README.md @@ -57,25 +57,7 @@ make run **Note**: Make sure `SDL2.dll` from `SDL2/bin` is in the same directory as the executable or in your PATH. -#### Option 2: Using CMake - -```bash -mkdir build -cd build - -# If SDL2 is in a standard location (C:/SDL2 or D:/SDL2) -cmake .. - -# If SDL2 is elsewhere -cmake .. -DCMAKE_PREFIX_PATH=D:/path/to/SDL2 - -# Build -cmake --build . -``` - -The CMakeLists.txt will automatically copy SDL2.dll to the build directory. - -#### Option 3: Manual compilation with g++/MinGW +#### Option 2: Manual compilation with g++/MinGW ```bash # Adjust paths to match your SDL2 installation @@ -88,7 +70,7 @@ g++ -std=c++11 -DUSE_SDL -o GraphicsDemo.exe main.cpp graphics.cpp ^ copy C:\SDL2\bin\SDL2.dll . ``` -#### Option 4: Manual compilation with MSVC +#### Option 3: Manual compilation with MSVC ```bash cl /EHsc /DUSE_SDL main.cpp graphics.cpp ^ -- cgit v1.2.3