hl2sdk-starter/README.md

69 lines
1.4 KiB
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-28 17:12:51 +03:00
Meson, Ninja, gcc/clang.
2024-04-25 04:45:54 +03:00
## Support
2024-04-28 17:12:51 +03:00
For more details check out the `build-matrix.sh` script and meson files.
2024-04-27 16:07:06 +03:00
2024-04-28 17:12:51 +03:00
### Linux
2024-04-27 16:07:06 +03:00
2024-04-28 17:12:51 +03:00
| 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 | - |
2024-04-27 16:07:06 +03:00
2024-04-28 17:12:51 +03:00
### Windows
2024-04-27 16:07:06 +03:00
2024-04-28 17:12:51 +03:00
Not at the moment.
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
```
2024-04-25 05:19:25 +03:00
meson setup -D arch=x86 -D buildtype=debug build
2024-04-25 03:33:15 +03:00
```
3. Build with Meson
```
cd build
meson compile
```