mirror of
https://github.com/rehlds/reapi.git
synced 2024-12-26 22:55:29 +03:00
AMX Mod X module, using API regamedll & rehlds
5f7da6fb94
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 3 to 4.1.7. - [Release notes](https://github.com/actions/download-artifact/releases) - [Commits](https://github.com/actions/download-artifact/compare/v3...v4.1.7) --- updated-dependencies: - dependency-name: actions/download-artifact dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> |
||
---|---|---|
.github/workflows | ||
msvc | ||
reapi | ||
.gitattributes | ||
.gitignore | ||
build.sh | ||
CMakeLists.txt | ||
LICENSE | ||
README.md | ||
version_script.lds |
Reapi
AMX Mod X module, using API regamedll & rehlds
Build instructions
Checking requirements
There are several software requirements for building ReAPI:
Windows
Visual Studio 2015 (C++14 standard) and later
Linux
git >= 1.8.5 cmake >= 3.10 GCC >= 4.9.2 (Optional) ICC >= 15.0.1 20141023 (Optional) LLVM (Clang) >= 6.0 (Optional)
Building
Windows
Use Visual Studio
to build, open msvc/reapi.sln
and just select from the solution configurations list Release
or Debug
Linux
- Optional options using
build.sh --compiler=[gcc] --jobs=[N] -D[option]=[ON or OFF]
(without square brackets)
-c=|--compiler=[icc|gcc|clang] - Select preferred C/C++ compiler to build -j=|--jobs=[N] - Specifies the number of jobs (commands) to run simultaneously (For faster building) Definitions (-D) DEBUG - Enables debugging mode USE_STATIC_LIBSTDC - Enables static linking library libstdc++
- ICC
./build.sh --compiler=intel
- LLVM (Clang)
./build.sh --compiler=clang
- GCC
./build.sh --compiler=gcc
Checking build environment (Debian / Ubuntu)
Click to expand
-
Installing required packages
sudo dpkg --add-architecture i386 sudo apt-get update sudo apt-get install -y gcc-multilib g++-multilib sudo apt-get install -y build-essential sudo apt-get install -y libc6-dev libc6-dev-i386
-
Select the preferred C/C++ Compiler installation
1) sudo apt-get install -y gcc g++ 2) sudo apt-get install -y clang
How can I help the project?
Just install it on your game server and report problems you faced.
Merge requests are also welcome :shipit: