Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/humbertodias/docker-allegro-compiler

Docker container allegro-compiler
https://github.com/humbertodias/docker-allegro-compiler

allegro4 allegro5 docker

Last synced: about 1 month ago
JSON representation

Docker container allegro-compiler

Awesome Lists containing this project

README

        

[![Deploy](https://github.com/humbertodias/docker-allegro-compiler/actions/workflows/deploy.yml/badge.svg)](https://github.com/humbertodias/docker-allegro-compiler/actions/workflows/deploy.yml)

# docker-allegro-compiler

### How to use

```shell
ALLEGRO_VERSION=5.2.9.1
ALLEGRO_PROJECT_PATH="~/my-sdl-project"
ALLEGRO_PROJECT_COMPILER_CMD="g++ main.cpp -o main -g `pkg-config --cflags --static --libs allegro-5`"
docker run -v $ALLEGRO_PROJECT_PATH:/tmp/workdir \
-w /tmp/workdir \
-ti hldtux/allegro-compiler:$ALLEGRO_VERSION-mingw-w64-i686 \
bash -c "$ALLEGRO_PROJECT_COMPILER_CMD"
```