1
0
mirror of https://github.com/alliedmodders/metamod-source.git synced 2024-11-28 10:24:20 +01:00
HLMetaModOfficial/samples/s1_sample_mm
2024-04-20 16:59:49 -04:00
..
msvc8 Add s2_sample_mm & Move samples to a sub folder 2023-09-27 16:56:39 +00:00
msvc9 Add s2_sample_mm & Move samples to a sub folder 2023-09-27 16:56:39 +00:00
msvc10 Add s2_sample_mm & Move samples to a sub folder 2023-09-27 16:56:39 +00:00
AMBuildScript Fix brace alignment. 2024-04-20 16:59:49 -04:00
configure.py Add s2_sample_mm & Move samples to a sub folder 2023-09-27 16:56:39 +00:00
engine_wrappers.h Fix s1_sample_mm compilation on Windows and for Episode 1 and document build process. 2024-04-20 16:59:49 -04:00
product.version Add s2_sample_mm & Move samples to a sub folder 2023-09-27 16:56:39 +00:00
README.md Fix s1_sample_mm compilation on Windows and for Episode 1 and document build process. 2024-04-20 16:59:49 -04:00
sample_mm.cpp Add s2_sample_mm & Move samples to a sub folder 2023-09-27 16:56:39 +00:00
sample_mm.h Add s2_sample_mm & Move samples to a sub folder 2023-09-27 16:56:39 +00:00
sample_mm.vdf Add s2_sample_mm & Move samples to a sub folder 2023-09-27 16:56:39 +00:00

For more information on compiling and reading the plugin's source code, see:

http://wiki.alliedmods.net/Category:Metamod:Source_Development

Build instructions

Make sure ambuild2 is installed: https://github.com/alliedmodders/ambuild

Configure the build (--hl2sdk-root specifies the path where the all SDKs have been installed by support/checkout-deps.sh and --mms_path is the path to Metamod: Source).

If you only want to compile using a specific SDK you can hack around the requirement to build for all SDKs by modifying the calls to the SDK constructor in the assignment to PossibleSDKs in AMBuildScript and setting the platforms parameter to [] for all SDKs that you don't want to compile for.

Windows

Use Command Prompt as Gitbash doesn't handle the path arguments correctly.

mkdir build
cd build
python ../configure.py --hl2sdk-root C:\Users\user\Documents\GitHub --mms_path C:\Users\user\Documents\GitHub\metamod-source

Build:

ambuild