A slightly more modern hl2sdk server plugin starter template. C++17, Meson.
Find a file
nullprop d30284328a
Some checks failed
Build project / build (push) Failing after 2m23s
Migrate actions to forgejo
2025-01-13 23:10:11 +02:00
.forgejo/workflows Migrate actions to forgejo 2025-01-13 23:10:11 +02:00
include Initial commit 2024-04-25 03:37:49 +03:00
src Fix missing newlines in Msgs 2024-04-27 16:43:12 +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 clang to the build matrix 2024-04-28 17:12:51 +03:00
LICENSE Initial commit 2024-04-25 03:37:49 +03:00
meson.build Add clang to the build matrix 2024-04-28 17:12:51 +03:00
meson.options Remove unused engine defines 2024-04-25 05:19:25 +03:00
README.md Add clang to the build matrix 2024-04-28 17:12:51 +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/clang.

Support

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

Linux

Branch gcc clang
bgt x86 x86
blade - -
bms - -
contagion - -
cs2 - -
csgo - -
css x86 x86
darkm - -
dods x86 x86
doi - -
dota - -
episode1 - -
eye x86 x86
gmod x86 -
hl2dm x86 x86
insurgency - -
l4d x86 x86
l4d2 x86 x86
mcv - -
nucleardawn x86 x86
orangebox x86 x86
portal2 - -
pvkii - -
sdk2013 - -
swarm - -
tf2 x86/x64 -

Windows

Not at the moment.

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