mirror of
https://github.com/ysoftdevs/cpp-examples.git
synced 2026-01-11 22:40:49 +01:00
Update instructions for building SDL2 example via VisualStudio
This commit is contained in:
12
README.md
12
README.md
@@ -263,8 +263,18 @@ Copy required resources/dll to mainExecutable by command:
|
||||
|
||||
gradle prepare
|
||||
|
||||
### 02-sdl2-video
|
||||
### 02-sdl2-video - Visual Studio version
|
||||
|
||||
Open solution file in VisualStudio.
|
||||
Verify that SDL2 is installed in your solution.
|
||||
Go to Tools - NuGet Packaga Manager - Manage NuGet Packages for Solution.
|
||||
Search for SDL. Select Simple DirectMedia Layer version 2.x (it will be most likely the second package). Select install.
|
||||
|
||||
Now you'll be able to build the package.
|
||||
|
||||
### 02-sdl2-video - Gradle version
|
||||
|
||||
It's possible to build the same application by Gradle.
|
||||
Graphic initialization example for SDL2.
|
||||
Initialize graphic interface, load BMP file and display it.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user