Template for Blue Engine with EGUI plugin
This is a template to get you up and running faster. It has fast build time by default, with option to change it to normal build upon release, and some other goodies.
Just clone the repository:
git clone https://github.com/AryanpurTech/BlueEngineTemplate
For the fast build times:
You are good to go, just continue using normally.
Rename the .cargo-win
to .cargo
, and set the current workspace as nightly:
rustup override set nightly
And you are now good to go.
for release builds, all you need to do is in the Cargo.toml
, change the blue_engine
's path="./blue_engine"
option with version="0.4"
and change the blue_engine_egui
's path="./blue_engine_egui"
option with version="0.4"
. That's it. It'll build most optimized version for release. When going back to debugging, change it back to original path="./blue_engine"
and path="./blue_engine_egui"
.
Things that have been added are:
- in the
blue_engine
, the crate type has been set todylib
. - in the
blue_engine_egui
, the crate type has been set todylib
. - release profile have been added some optimizations to.
- for windows, some extra settings have been applied to to enable
dylib
.
If you'd like to apply it yourself, check out the wiki.