Skip to content

Commit 1455058

Browse files
authored
Add VS quick start to readme
1 parent 2b5ef71 commit 1455058

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ The template starts out very basic, but might receive additional features over t
88
- Basic CMake script to build your project and link SFML on any operating system
99
- Basic [GitHub Actions](https://github.com/features/actions) script for all major platforms
1010

11-
## How to Use
11+
## Quick start
12+
### Command line
1213

1314
1. Install [Git](https://git-scm.com/downloads) and [CMake](https://cmake.org/download/). Use your system's package manager if available.
1415
2. Follow [GitHub's instructions](https://docs.github.com/en/repositories/creating-and-managing-repositories/creating-a-repository-from-a-template) for how to use their project template feature to create your own project. If you don't want to use GitHub, see the section below.
@@ -48,6 +49,15 @@ The template starts out very basic, but might receive additional features over t
4849

4950
9. Enjoy!
5051

52+
### Visual Studio
53+
Using a visual studio workspace is the simplest way to get started on windows
54+
55+
1. Ensure you have the [required components installed](https://learn.microsoft.com/en-us/cpp/build/cmake-projects-in-visual-studio?view=msvc-170#installation)
56+
2. If you have already cloned this repo, you can [Open the folder](https://learn.microsoft.com/en-us/cpp/build/cmake-projects-in-visual-studio?view=msvc-170#ide-integration)
57+
3. If not, you can [clone it directly in visual studio](https://learn.microsoft.com/en-us/visualstudio/get-started/tutorial-open-project-from-repo?view=vs-2022)
58+
59+
Visual studio should automatically configure the cmake project, then you can build and run as normal through visual studio. See the links above for more details
60+
5161
## Upgrading SFML
5262

5363
SFML is found via CMake's [FetchContent](https://cmake.org/cmake/help/latest/module/FetchContent.html) module.

0 commit comments

Comments
 (0)