This repository contains scripts that fetch the dependencies, build and package the Magnum engine, and makes it available as a bazel package. The packages are built for linux x86_64 (Ubuntu 16.04 and 18.04) and MacOS 10.14+.
The final package contains the following libraries:
- Corrade (github link)
- Magnum (github link) built with glfw support
- Magnum Integration (github link) built with imgui support
- GLFW 3.3 (github link)
- Imgui 1.74 (github link)
- ImGuizmo (github link)
after you build the supporting libraries with the build_magnum.sh script, you can run:
bazel build //...
and it will build for you the example app that is in this repository. To run it you can then use bazel again:
bazel run //sample:scenegraph_example
or run the executable directly with:
./bazel-bin/sample/scenegraph_example