Code Monkey home page Code Monkey logo

sm-ext-socket's Introduction

SourceMod Socket Extension

This has been forked from sfPlayer's origin Git repository. Get to the AlliedModders forum thread for more information.

Building with AMBuild

Dependencies

Configuration

  1. Configure Boost.
    • Download the release archive from the site and extract the archive to a location ${BOOST_PATH}. Set that location as your working directory.
    • Run the bootstrap script for your platform to build b2. Pass --with-toolset with either msvc, gcc, or clang depending on what compiler you plan on building with.
    • Invoke b2 define=BOOST_TYPE_INDEX_FORCE_NO_RTTI_COMPATIBILITY address-model=32 runtime-link=static link=static --build-dir=build/x86 --stagedir=stage/x86 --with-thread --with-date_time --with-regex to build the required libraries in mixed RTTI mode (boost will use RTTI, the extension will not). The configuration should build fully static x86 libraries on both Withdows and Linux, with versioned filenames on the former and system names on the latter (which allows us to use -lboost_* without additional extensions when setting up the link flags on ambuild).
      • If an existing build is present with a different configuration, use -a to force rebuilding the libraries.
  2. cd build/ and run ../configure.py --sm-path ${SM_PATH} --boost-path ${BOOST_PATH}
    • example: python ../configure.py --sm-path "G:/Documents/SMBuild/sourcemod" --boost-path "G:/Documents/CPPLibs/boost_1_71_0/" --enable-optimize 1
  3. ambuild as normal.

sm-ext-socket's People

Contributors

bara avatar gammacase avatar joinedsenses avatar nefarius avatar nosoop avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.