- HL2SDK of Source 2 game on writing plugin for.
- Metamod:Source
- Windows: Open the MSVC developer console with the correct platform (x86_64) that you plan on targetting.
- Configure with
cmake --preset {PRESET}
where:{PRESET}
- specify a configure preset.- Are allowed:
- Linux:
Debug
andRelease
. - Windows:
Windows/Debug
andWindows/Release
.
- Linux:
- Build with
cmake --preset {PRESET} --build --parallel
. - Once the plugin is compiled the files would be packaged and placed in
build/{PRESET}
folder. - Be aware that plugins get loaded either by corresponding
.vdf
files in the metamod folder, or by listing them inaddons/metamod/metaplugins.ini
file.