Skip to content

Compiling on Windows

Warfork edited this page Mar 3, 2022 · 8 revisions

Install the tools

On Windows, the recommended tool for compiling Qfusion is Microsoft Visual Studio. Visual Studio 2017 is the officially supported version, and precompiled library files for it are available in the repository.

Once you have installed Visual Studio, you need to install CMake 3.3.2. Newer version may not work at all. CMake 3.5.2 is the recommended version.

Generate the project

In CMake GUI, set the source code folder to the source folder in the repository, and the destination to an empty folder.

Then press Configure, select your Visual Studio version, choose "Use default native compilers", click Finish and then press Generate.

Build the binaries

Open qfusion.sln in the destination folder in Visual Studio, select the configuration (Debug or Release) and press Ctrl+Shift+B to build.

After building, you can get the binaries in the build folder in source.

Clone this wiki locally