You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+11-1Lines changed: 11 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,8 @@ The template starts out very basic, but might receive additional features over t
8
8
- Basic CMake script to build your project and link SFML on any operating system
9
9
- Basic [GitHub Actions](https://github.com/features/actions) script for all major platforms
10
10
11
-
## How to Use
11
+
## Quick start
12
+
### Command line
12
13
13
14
1. Install [Git](https://git-scm.com/downloads) and [CMake](https://cmake.org/download/). Use your system's package manager if available.
14
15
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
48
49
49
50
9. Enjoy!
50
51
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
+
51
61
## Upgrading SFML
52
62
53
63
SFML is found via CMake's [FetchContent](https://cmake.org/cmake/help/latest/module/FetchContent.html) module.
0 commit comments