- source-sdk-2013
- CMake
- A build environment for 32bit supporting C++17 (eg.
g++ 7
)
sudo apt install build-essential cmake libc6-dev-i386 gcc-multilib g++-7-multilib libcurl4-openssl-dev:i386
To configure CMake, first run:
cmake . -DSOURCE_SDK_DIR=<your source sdk location>
Make sure to point SOURCE_SDK_DIR
to the mp/src
location of the full source
sdk.
Once configured, you can now run make
to build the plugin.
Running make install
will create a directory install/addons
with all the
files generally needed to install the plugin.
sudo apt-get install libtinfo5:i386 libncurses5:i386 libcurl3-gnutls:i386
Run tests with CTEST_OUTPUT_ON_FAILURE=1 make test
.