As described in the main project README
, a C++ 20 compiler and CMake are required. A known, minimal working environment is using Visual Studio 2022 Build Tools which provides all of the necessary development requirements. Note that the build tools do not provide the Visual Studio IDE, so if this is desired, the Visual Studio product of choice may be installed instead. Instructions for setting up this environment are provided below.
Download the latest version of Visual Studio 2022 Build Tools or the full Visual Studio IDE and run the installer. Select the 'Individual Components' tab at the top, and select the following required components:
- C++ CMake tools for Windows
- MSVC v143 - VS 2022 C++ x64/x86 build tools (Latest)
- MSVC v143 - VS 2022 C++ x64/x86 Spectre-mitigated libs (Latest)
- Windows 11 SDK (10.0.22621.0)
Additionally if you are using the Visual Studio 2022 Build Tools install the followng under 'Individual Components'
- C++ Build Tools core features
- C++ core features
Further, if you are using the Visual Studio IDE, install the following under 'Workloads'
- Desktop development with C++
The following components are optional, but strongly recommended for a more complete development experience:
- C++ AddressSanitizer
- C++ Clang Compiler for Windows (15.0.1)
- C++ Clang-cl for v143 build tools (x64/x86)
The final list with all optional components would look like this:
Once installed, the project can be built using CMake as described in the main README
.
Prior to following the generic instructions for configuring a git signing key here, the gpg tools must be installed:
- Download the latest version of gpg4win from https://www.gpg4win.org/.
- Run the installer, deselect all optional components, leaving only
GnuPG
selected. Accept all other defaults and complete the installation. - Configure git with the location of the Windows gpg tools:
git config --global gpg.program "C:\Program Files (x86)\GnuPG\bin\gpg.exe"