Skip to content

Latest commit

 

History

History
41 lines (24 loc) · 1.29 KB

README.md

File metadata and controls

41 lines (24 loc) · 1.29 KB

Template for Blue Engine

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.

Getting started

Just clone the repository:

git clone https://github.com/AryanpurTech/BlueEngineTemplate

For the fast build times:

Linux

You are good to go, just continue using normally.

Windows

Rename the .cargo-win to .cargo, and set the current workspace as nightly:

rustup override set nightly

And you are now good to go.

Release builds

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". That's it. It'll build most optimized version for release. When going back to debugging, change it back to original path="./blue_engine".

What's the difference?

Things that have been added are:

  • in the blue_engine, the crate type has been set to dylib.
  • 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.