Code Monkey home page Code Monkey logo

glhf's Introduction

GLhf

Actions Status Actions Status Actions Status

What ?

GLhf is a cross-platform OpenGL project template that uses CMake and continuous integration with Github actions.

For now, the scripts I have written use Google's Ninja, but using CMake you can generate a variety of other formats.

How ?

To use this template, all you have to do is clone the repo, and install the required platform specific dependencies (glfw is included in this repo):

  • Linux (debian install commands):

    • Ninja ($ sudo apt-get install ninja-build -y)
    • xorg-dev ($ sudo apt-get install xorg-dev -y)
    • freeglut3-dev ($ sudo apt-get install freeglut3-dev -y)
    • CMake ($ sudo apt-get install cmake -y)
  • OSX (homebrew install commands)

    • Ninja ($ brew install ninja)
    • CMake ($ brew install CMake)
  • Windows (chocolatey install commands)

    • Bash (if you have git for windows, bash should be installed, but to put it in your Path, you can choco install git.install --params "/GitAndUnixToolsOnPath")
    • Ninja (choco install ninja)
    • CMake (choco install cmake)
    • GLWF (choco install glfw3)

After that, if you want to simply build debug and release, execute (in bash):

$ ./BuildTests.sh

and build executables should be in build/${CONFIG}/bin. If you want to build and run only one configuration, simply run (again, in bash) :

$ ./BuildRun [Release/Debug]

glhf's People

Contributors

ithyx avatar milesbai 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.