Path | Content |
---|---|
SDK/ |
Core SDK headers (stable between versions) |
SDK/Server/Components/*/ |
Components/plug-in SDK headers (stable between versions) |
Shared/NetCode/ |
Netcode headers (RPC and packet read/write structures, NOT stable between versions) |
lib/ |
Various submodules and CMake helpers for Conan |
Server/Source/ |
Core server implementation (NOT stable between versions, do NOT use headers outside the Source folder) |
Server/Components/*/ |
Components/plug-in implementation (NOT stable between versions, do NOT use headers outside the component's folder) |
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
# With SSH:
git clone --recursive [email protected]:openmultiplayer/open.mp
Note the use of the --recursive
argument, because this repository contains submodules.
cd open.mp
mkdir build
cd build
cmake .. -A Win32 -T ClangCL
Open Visual Studio and build the solution.