diff --git a/README.md b/README.md index 06f8fef..6836536 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,48 @@ Metamod:Source Metamod:Source - A C++ Plugin Environment and Detour Library for the Source Engine. -Build instructions: See +Build instructions +------------------ + +Make sure ambuild2 is installed: https://github.com/alliedmodders/ambuild + +Clone the repo with submodules: +``` +git clone --recurse-submodules https://github.com/alliedmodders/metamod-source +``` + +Clone the SDK dependencies: +``` +cd .. +metamod-source/support/checkout-deps.sh +cd metamod-source +``` + +Configure the build: +``` +mkdir build +cd build +python ../configure.py +``` + +Build: +``` +ambuild +``` + +You can clone an individual SDK e.g.: +``` +cd .. +metamod-source/support/checkout-deps.sh -s episode1 +cd metamod-source +``` + +You can configure the build for an individual SDK e.g.: +``` +mkdir build +cd build +python ../configure.py --sdks episode1 +``` Stable build snapshots: