This is a template crate to make it easy to start a new project using SDL2 and OpenGL 2.1, with live code reloading.
For a simpler example program which support live reloading see here.
Similarly to the way live-code-bear-lib-terminal-template turned out, the plan is to use this template in projects, then backport generally useful additions to the Platform
struct, expanding that API based on actuall usage, rather than blind guessing.
Comment out the line containing crate-type = ["dylib"]
in the Cargo.toml
in the state_manipulation
folder. It would be nice if this step was eliminated, but AFAIK the only way to do that would be to build both the dylib
and the rlib
every time. Given how relatively rare release builds are, that seems like a waste of compile time.
Then run cargo build --release