summaryrefslogtreecommitdiff
path: root/contrib/SDL-3.2.8/docs/INTRO-visualstudio.md
diff options
context:
space:
mode:
author3gg <3gg@shellblade.net>2025-12-27 12:03:39 -0800
committer3gg <3gg@shellblade.net>2025-12-27 12:03:39 -0800
commit5a079a2d114f96d4847d1ee305d5b7c16eeec50e (patch)
tree8926ab44f168acf787d8e19608857b3af0f82758 /contrib/SDL-3.2.8/docs/INTRO-visualstudio.md
Initial commit
Diffstat (limited to 'contrib/SDL-3.2.8/docs/INTRO-visualstudio.md')
-rw-r--r--contrib/SDL-3.2.8/docs/INTRO-visualstudio.md14
1 files changed, 14 insertions, 0 deletions
diff --git a/contrib/SDL-3.2.8/docs/INTRO-visualstudio.md b/contrib/SDL-3.2.8/docs/INTRO-visualstudio.md
new file mode 100644
index 0000000..2cc6100
--- /dev/null
+++ b/contrib/SDL-3.2.8/docs/INTRO-visualstudio.md
@@ -0,0 +1,14 @@
1
2# Introduction to SDL with Visual Studio
3
4The easiest way to use SDL is to include it as a subproject in your project.
5
6We'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 -> Add Reference 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- Build and run!
14