Code Monkey home page Code Monkey logo

gm_template's Introduction

{MODULE NAME HERE}

{DESCRIPTION ABOUT MODULE HERE}

Compiling

The only supported compilation platform for this project on Windows is Visual Studio 2017 on release mode {TODO: REMOVE THIS PART IF NOT APPLICABLE}. However, it's possible it'll work with Visual Studio 2015, Visual Studio 2019 and Visual Studio 2022 because of the unified runtime.

On Linux, everything should work fine as is, on release mode {TODO: REMOVE THIS PART IF NOT APPLICABLE}.

For macOS, any Xcode (using the GCC compiler) version MIGHT work as long as the Mac OSX 10.7 SDK is used, on release mode {TODO: REMOVE THIS PART IF NOT APPLICABLE}.

These restrictions are not random; they exist because of ABI compatibility reasons.

If stuff starts erroring or fails to work, be sure to check the correct line endings (\n and such) are present in the files for each OS.

Requirements

This project requires garrysmod_common, a framework to facilitate the creation of compilations files (Visual Studio, make, XCode, etc). Simply set the environment variable GARRYSMOD_COMMON or the premake option --gmcommon=path to the path of your local copy of garrysmod_common.

We also use SourceSDK2013. The links to SourceSDK2013 point to my own fork of VALVe's repo and for good reason: Garry's Mod has lots of backwards incompatible changes to interfaces and it's much smaller, being perfect for automated build systems like Azure Pipelines (which is used for this project).

Garry's Mod native modules template (you should remove this section)

This is a template repository for Garry's Mod native modules.

Parts to be replaced:

  • First heading ({MODULE NAME HERE}), content below it ({DESCRIPTION ABOUT MODULE HERE}) and remove release mode comments, if not applicable ({TODO: REMOVE THIS PART IF NOT APPLICABLE}) on this README

  • Header of the license ({MODULE NAME HERE}) and description ({DESCRIPTION ABOUT MODULE HERE}) on the license

  • Either remove or change .appveyor.yml, .travis.yml or azure-pipelines.yml ({MODULE NAME HERE}, {ENCRYPTED API KEY ...} and {NAME OF YOUR GITHUB SERVICE CONNECTION ...})

  • Change premake5.lua ({MODULE NAME HERE} and what needs to be included)

  • Change source/main.cpp ({MODULE NAME HERE})

gm_template's People

Contributors

danielga avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 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.