GithubHelp home page GithubHelp logo

devdad / gs_project_template Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mrfrenik/gs_project_template

0.0 0.0 0.0 1.5 MB

License: BSD 3-Clause "New" or "Revised" License

Shell 45.37% Python 33.87% C 15.00% Batchfile 5.76%

gs_project_template's Introduction

Gunslinger Project Template

This is a minimum and premade configuration that you need in order to get started with gunslinger. It provides all the necessary dependencies and the bash/batch scripts for compiling it on Windows, Mac and Linux.

You can also check the main Gunslinger repository here, where you'll find documentation on how to get started: Gunlinger repository

And you can also find a complete list of examples for you to learn from and test on your machine here: Gunslinger examples

Cloning instructions:

  • Use the following command to clone the repo and init the gunslinger submodule
git clone --recursive https://github.com/MrFrenik/gs_project_template

Updating GS instructions (updates gunslinger submodule and rebases to main branch):

git submodule update --remote --rebase --recursive

Build Instructions:

Windows

MSVC:

  • From start menu, open {x86|x64} Native Tools for {VS Version Here}
  • cd to root dir where you downloaded project template
  • To compile the project, run:
proc\win\cl.bat
  • To execute the program, run:
bin\App.exe

MINGW:

  • From root dir, open git bash
  • To compile, run:
bash ./proc/win/mingw.sh
  • To execute the program, run:
./bin/App.exe

Linux

Before Compiling:

  • Make sure the following development libraries are installed:
sudo apt install git gcc mesa-common-dev libxcursor-dev libxrandr-dev libxinerama-dev libxi-dev
  • For Mesa and OpenGL, need to export the following:
export MESA_GL_VERSION_OVERRIDE=3.3

GCC:

  • Open terminal
  • cd to root dir where you downloaded project template
  • To compile the project, run:
bash ./proc/linux/gcc.sh
  • To execute the program, run:
./bin/App

OSX

GCC:

  • Open terminal
  • cd to root dir where you downloaded project template
  • To compile the project, run:
bash ./proc/osx/gcc.sh
  • To execute the program, run:
./bin/App

HTML5

Emscripten:

  • Open terminal
  • cd to root dir where you downloaded project template
  • To compile the project, run:
bash ./proc/osx/emcc.sh
  • This will generate the appropriate .html, .js, and .wsm files to load in a browser.

gs_project_template's People

Contributors

mrfrenik avatar samdal 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.