Skip to content

Commit

Permalink
Updated build instructions.
Browse files Browse the repository at this point in the history
  • Loading branch information
tschumann committed Apr 7, 2024
1 parent 2f38229 commit a2b4f3f
Showing 1 changed file with 42 additions and 1 deletion.
43 changes: 42 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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>

Expand Down

0 comments on commit a2b4f3f

Please sign in to comment.