Skip to content

Commit 1b30a01

Browse files
committed
Added INTRO-visualstudio.md
Also removed out of date Visual C++ documentation
1 parent 191b9d5 commit 1b30a01

File tree

3 files changed

+15
-114
lines changed

3 files changed

+15
-114
lines changed

docs/INTRO-visualstudio.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
2+
# Introduction to SDL with Visual Studio
3+
4+
The easiest way to use SDL is to include it as a subproject in your project.
5+
6+
We'll start by creating a simple project to build and run [hello.c](hello.c)
7+
8+
- Create a new project in Visual Studio, using the C++ Empty Project template
9+
- Add hello.c to the Source Files
10+
- Right click the solution, select add an existing project, navigate to VisualC/SDL and add SDL.vcxproj
11+
- Select your main project and go to Project -> Project Dependencies and select SDL3
12+
- Select your main project and go to Project -> Properties, set the filter at the top to "All Configurations" and "All Platforms", select VC++ Directories and add the SDL include directory to "Include Directories"
13+
- Select your main project and go to Project -> Add Reference and select SDL3
14+
- Build and run!
15+

docs/README-visualc.md

Lines changed: 0 additions & 113 deletions
This file was deleted.

docs/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ More documentation and FAQs are available online at [the wiki](http://wiki.libsd
3232
- [High DPI Support](README-highdpi.md)
3333
- [Touch](README-touch.md)
3434
- [Versions](README-versions.md)
35-
- [Visual Studio](README-visualc.md)
3635

3736
- [Android](README-android.md)
3837
- [Emscripten](README-emscripten.md)

0 commit comments

Comments
 (0)