esy
is used for building, so if you don't have esy
, install it:
npm install -g [email protected]
esy install
esy build
NOTE: If you've never built with
esy
before, the first compile could take some time - it builds theocaml
compiler as well ascmake
. Incremental builds, though, are extremely fast!
A very simple example project is provided - you can test it out here:
NATIVE:
cd _build/install/default/bin
./test_glfw
(./test_glfw.exe
on Windows)
WEB:
- Start an http-server at
_build/install/default/bin
. (I usenpm install -g http-server
). - Navigate to
index.html
This project is licensed under the MIT License - see LICENSE for more details.
- The test texture is provided by LearnOpenGL - an excellent resource for OpenGL!
- This is built on several great libraries, like GLFW, glad, stb_image
- The test image is from @Arahnoid's UVChecker-map repo.