transparent-cube

Minimal cross-platform native/wasm graphics example.
Log | Files | Refs | README | LICENSE

commit 15780ed658a7dc0f8f0bbc0f0d23af670d498415
parent a5b87d33c4d3e21cd99f9c26cb74da0ae1c66cdc
Author: Amin Mesbah <dev@aminmesbah.com>
Date:   Mon, 24 Jun 2019 17:53:59 -0700

Add a readme with build instructions

Diffstat:
AREADME.md | 32++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+), 0 deletions(-)

diff --git a/README.md b/README.md @@ -0,0 +1,32 @@ +### Compile on Linux + +- Install clang and glfw3 with your system's package manager. +- `make run` to compile and run the release build. + + +### Compile on Windows + +- Install and set up clang. The sanest set of instructions I've found is + [here][1]. +- Download the latest 64-bit Windows pre-compiled binary package from [here][2]. +- Unzip it and copy the `include` and `lib-vc2019` folders into + `lib/glfw_windows/`. The folder structure should look like this: + +``` +lib/glfw_windows/ +|-- include +| +-- GLFW +| |-- glfw3.h +| +-- glfw3native.h ++-- lib-vc2019 + |-- glfw3.dll + |-- glfw3dll.lib + +-- glfw3.lib +``` + +- `.\build.bat && .\out\release\transparent-cube.exe` to compile and run the + release build. + + + [1]: https://gist.github.com/InNoHurryToCode/955d63db0d79699fed63fe18eeebf17e + [2]: https://www.glfw.org/download.html