/open.mp

Primary LanguageC++Mozilla Public License 2.0MPL-2.0

open.mp

status

Structure

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)

Tools

Tools on Windows

Visual Studio needs the Desktop development with C++ workload with the MSVC v142, Windows 10 SDK and C++ Clang tools for Windows components.

Sources

# With HTTPS:
git clone --recursive https://github.com/openmultiplayer/open.mp
# With SSH:
git clone --recursive git@github.com:openmultiplayer/open.mp

Note the use of the --recursive argument, because this repository contains submodules.

Building on Windows

cd open.mp
mkdir build
cd build
cmake .. -A Win32 -T ClangCL

Open Visual Studio and build the solution.