hl2sdk-starter/README.md

38 lines
735 B
Markdown
Raw Normal View History

2024-04-25 03:33:15 +03:00
# hl2sdk-starter
A starter template for hl2sdk server plugins.
## Requirements
2024-04-25 04:45:54 +03:00
Meson, Ninja, gcc.
## Support
| Compiler | Linux x86 | Linux x64 | Windows x86 | Windows x64 |
| ---- | ---- | ---- | ---- | ---- |
| gcc | yes | yes | ? | ? |
| clang | ? | ? | ? | ? |
| msvc | ? | ? | ? | ? |
2024-04-25 03:33:15 +03:00
## Building
1. Check out the correct SDK branch, e.g. `tf2`:
```
git submodule update --init
cd include/hl2sdk
git checkout tf2
cd ../..
```
2. Setup Meson build folder
```
meson setup -D engine=tf2 -D arch=x86 -D buildtype=debug build
```
3. Build with Meson
```
cd build
meson compile
```