From b0376367562d6c2c9f69d3b16b3c62bf7c353c78 Mon Sep 17 00:00:00 2001 From: Mattes D Date: Mon, 26 Dec 2022 16:54:25 +0100 Subject: Changed Windows instructions to build out-of-source. --- COMPILING.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'COMPILING.md') diff --git a/COMPILING.md b/COMPILING.md index 030121ad4..a83257627 100644 --- a/COMPILING.md +++ b/COMPILING.md @@ -33,7 +33,13 @@ If you're using Git to get the source, use the following command to set up the l git clone --recursive https://github.com/cuberite/cuberite.git ``` -Now that you have the source, it's time to prepare the project files for your favorite compiler. Open a command window in the folder with the source and type in `cmake .` . This will run CMake, it will auto-detect your Visual Studio version and produce the appropriate project and solution files. +Now that you have the source, it's time to prepare the project files for your favorite compiler. Open a command window in the folder with the source and type in: +``` +mkdir build +cd build +cmake .. +``` +This creates a `build` folder where the build will take place, then runs CMake, which will auto-detect your Visual Studio version and produce the appropriate project and solution files. Finally, open the newly created file, `Cuberite.sln`, in your Visual Studio. -- cgit v1.2.3