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 git@github.com:openmultiplayer/open.mp-sdk-example
Note the use of the --recursive
argument, because this repository contains submodules.
cd open.mp-sdk-example
mkdir build
cd build
cmake .. -A Win32 -T ClangCL
Open Visual Studio and build the solution.