Visual Studio needs the Desktop development with C++ workload with the MSVC v142, Windows 10 SDK and C++ Clang tools for Windows components.
# With HTTPS:
git clone --recursive https://github.com/openmultiplayer/open.mp-sdk-example
# With SSH:
git clone --recursive [email protected]:openmultiplayer/open.mp-sdk-exampleNote the use of the --recursive argument, because this repository contains submodules.
cd open.mp-sdk-example
mkdir build
cd build
cmake .. -A Win32 -T ClangCLOpen Visual Studio and build the solution.