(Prerequisite) Download Git for Windows
Go through the Git for Windows installation as normal
(Prerequisite) Download the Community edition from Visual Studio 2022
Once you are within the installer:
- Select
Desktop development with C++
- Go to "Individual Components" tab
- Search and select
C++ Clang Compiler for Windows
if you want to compile with Clang andMSBuild support for LLVM
(Obligatory) - Continue the installation
- Open Git for Windows, navigate to a place where you want to store the Xenon source code folder
- Clone the repository by running
git clone --recursive https://github.com/xenon-emu/Xenon.git
- Open up Visual Studio, select
Open a local folder
and select the folder with the Xenon source code. The folder should containCMakeLists.txt
- You can choose between
x64-MSVC-Release
orx64-Clang-Release
- Compile
Your Xenon.exe will be in C:\path\to\source\Build\x64-Clang-Release\