mirror of
https://github.com/alliedmodders/metamod-source.git
synced 2024-11-28 10:24:20 +01:00
Updated build instructions.
This commit is contained in:
parent
2f3822992b
commit
adb0f786a0
43
README.md
43
README.md
@ -3,7 +3,48 @@ Metamod:Source
|
||||
|
||||
Metamod:Source - A C++ Plugin Environment and Detour Library for the Source Engine.
|
||||
|
||||
Build instructions: See <https://wiki.alliedmods.net/Building_SourceMod>
|
||||
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: <http://www.metamodsource.net/downloads.php/?branch=stable>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user