An open API service indexing awesome lists of open source software.

https://github.com/jshrake/cpp-platform-noodling-v1


https://github.com/jshrake/cpp-platform-noodling-v1

Last synced: over 1 year ago
JSON representation

Awesome Lists containing this project

README

          

# grimoire
[![Build Status](https://travis-ci.org/jshrake/grimoire.svg?branch=master)](https://travis-ci.org/jshrake/grimoire)

Magical libraries for C++ graphics development.

- [**grim_gl.h**](grim_gl.h): Minimal multi-platform OpenGL function loading
- [**grim_math.h**](grim_math.h): GLSL-like vector math library
- [**grim_surface.h**](grim_surface.h): OpenGL 3.3+ glDrawPixels replacement

## Usage

### OSX/Linux

Install the dependencies:

```bash
# Linux
$ apt-get install cmake libsdl2-dev
# MacOS
$ brew install cmake sdl2
```

Create and run a new project:

```bash
# Install the command-line tool
$ git clone https://github.com/jshrake/grimoire
$ pushd grimoire
$ grimoire install
$ popd
# Create a new project
$ grim new foo
$ cd foo
# Build
$ grim build
# Run
$ grim run
```

### Windows

Coming soon!

## WARNING

This is experimental software, don't cast these spells in public!