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
- Visual Studio 2019 or later (select complete "**Desktop C++ Dev**" workload)
21
-
- Windows SDK (download using Visual Studio).
20
+
- Visual Studio 2022 or later (select complete "**Desktop C++ Development**" workload)
21
+
- Windows SDK.
22
+
- CMake for VS2022 (download using Visual Studio installer).
22
23
23
24
### MacOS
24
25
- XCode latest with MacOS SDK.
25
-
- Extra Apple Developer Tools. After Xcode installs, simply run this in terminal:
26
+
- Follow [official guide](https://www.sfml-dev.org/tutorials/2.6/start-osx.php) on installing SFML on MacOS
27
+
- Extra Apple Developer Tools. After Xcode installs, run this in Terminal:
26
28
```bash
27
29
sudo xcode-select --install
28
30
```
@@ -32,21 +34,22 @@ A simple GUI module for SFML.
32
34
```
33
35
34
36
### Linux Desktop
35
-
- Use your package manager (`apt-get` or `yum`) to download dependencies listed [in official docs](https://www.sfml-dev.org/tutorials/2.6/compile-with-cmake.php#installing-dependencies)
37
+
- Use your package manager (`apt-get` or `yum`) to download SFML dev dependencies listed [in official docs](https://www.sfml-dev.org/tutorials/2.6/compile-with-cmake.php#installing-dependencies)
36
38
37
39
## Building locally
38
40
39
-
- On Windows, simply open this project in Visual Studio 2019 or later, choose "Release" or "Debug" from top toolbar. Then click "Build".
40
-
- If using CMake GUI (all platforms), set "Source Folder" to this project root. Then set "Build Folder" to new _relative_ folder `/build` or `/out`. See image below. Then click "Configure", choose **Unix Makefiles**, then click Generate. Finally, open build folder, then run `make all` in Terminal
41
+
- On Windows, open this project in Visual Studio 2022 or later, choose "Release" or "Debug" from top toolbar. Then click "Build" > "Build All".
42
+
- If using CMake GUI (all platforms), set "Source Folder" to this project root. Then set "Build Folder" to new _relative_ folder `/build` or `/out`. See image below. Then click "Configure", choose **Unix Makefiles**, then click Generate. Finally, open build folder, then run `make all` in Terminal.
43
+
41
44

42
45
43
-
- Alternatively, using the CMake CLI on your terminal:
46
+
- Alternatively, you can use the CMake CLI on your Terminal:
44
47
45
48
```bash
46
49
mkdir build
47
50
cd build
48
-
cmake .. -G "Unix MakeFiles"
49
-
cmake --build . --config Release --target all -j 10
This contains CMake instructions to build MacOS GUI `.app`bundle for the demo. It embeds the icon to the app bundle. It also copies all assets/resources into the bundle at build time. And adds an important `Info.plist` file which contains metadata about the application.
3
+
This contains specific CMake instructions to build MacOS GUI `.app`Bundle for the demo. It embeds the icon to the app bundle. It also copies all assets/resources into the Bundle at build time. It additionally adds an important `Info.plist` file which contains metadata about the application.
0 commit comments