A slightly more modern hl2sdk server plugin starter template. C++17, Meson.
Find a file
2024-04-27 16:07:06 +03:00
.github/workflows Update workflow to use build script 2024-04-27 15:55:00 +03:00
include Initial commit 2024-04-25 03:37:49 +03:00
src Fixing compile errors for some sdk branches 2024-04-27 15:51:35 +03:00
.clang-format Initial commit 2024-04-25 03:37:49 +03:00
.clangd Initial commit 2024-04-25 03:37:49 +03:00
.gitignore Update .gitignore 2024-04-27 15:50:14 +03:00
.gitmodules Initial commit 2024-04-25 03:37:49 +03:00
build-matrix.sh Add build-matrix script 2024-04-27 15:49:53 +03:00
LICENSE Initial commit 2024-04-25 03:37:49 +03:00
meson.build Fixing compile errors for some sdk branches 2024-04-27 15:51:35 +03:00
meson.options Remove unused engine defines 2024-04-25 05:19:25 +03:00
README.md Update readme 2024-04-27 16:07:06 +03:00
thirdpartylegalnotices.txt Initial commit 2024-04-25 03:37:49 +03:00

hl2sdk-starter

A starter template for hl2sdk server plugins.

Requirements

Meson, Ninja, gcc.

Support

Compiler & targets

Linux x86 Linux x64 Windows x86 Windows x64
gcc yes yes no no
clang no no no no
msvc no no no no

SDK branches

Branch Supported
bgt yes
blade no
bms no
contagion no
cs2 no
csgo no
css yes
darkm no
dods yes
doi no
dota no
episode1 no
eye yes
gmod yes
hl2dm yes
insurgency no
l4d yes
l4d2 yes
mcv no
nucleardawn yes
orangebox yes
portal2 no
pvkii no
sdk2013 no
swarm no
tf2 yes

For more details check out the build-matrix.sh script and meson files.

Building

  1. Check out the correct SDK branch, e.g. tf2:
git submodule update --init
cd include/hl2sdk
git checkout tf2
cd ../..
  1. Setup Meson build folder
meson setup -D arch=x86 -D buildtype=debug build
  1. Build with Meson
cd build
meson compile