From a822fb47a0671c75686ea67728642dd98c140668 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?melo=C6=9E?= Date: Wed, 1 May 2024 18:00:10 +0200 Subject: [PATCH] fix up readme on building with MSVC (Visual Studio) --- README.md | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 0d34d7862..779467b98 100644 --- a/README.md +++ b/README.md @@ -196,7 +196,20 @@ Check the SAN.\* files afterwards. This finds more problems than memcheck, runs For valgrind's memcheck compile a normal Debug build and run with: `valgrind --tool=memcheck ./DDNet` Expect a large slow down. -Building on Windows with Microsoft Visual C++ +Building on Windows with the Visual Studio IDE +-------------------------------------- + +Download and install some version of [Microsoft Visual Studio](https://www.visualstudio.com/) (At the time of writing, MSVS Community 2022) with **C++ support**. + +You'll have to install both [Python 3](https://www.python.org/downloads/) and [Rust](https://rustup.rs/) as well. + +Make sure the MSVC build tools, C++ CMake-Tools and the latest Windows SDK version appropriate to your windows version are selected in the installer. + +Now open up your Project folder, Visual Studio should automatically detect and configure your project using CMake. + +On your tools hotbar next to the triangular "Run" Button, you can now select what you want to start (e.g game-client or game-server) and build it. + +Building on Windows with standalone MSVC build tools -------------------------------------- First off you will need to install the MSVC [Build Tools](https://visualstudio.microsoft.com/visual-cpp-build-tools/), [Python 3](https://www.python.org/downloads/) as well as [Rust](https://www.rust-lang.org/tools/install).