Compiling Veloren

This section covers building Veloren from source and running it.
Reminder that all commands need to be run from the repo directory.

Compiling

To compile and run the client

cargo run --bin veloren-voxygen

To compile and run standalone server

cargo run --bin veloren-server-cli

To compile without running, use cargo build instead.

Optimized Release builds

By default debug builds are created which compile faster but run a bit slower than optimized release builds. Unlike many other projects, we've set them up so they're fast enough to be playable. If you want to get optimized builds, add the --release flag when calling cargo. Keep in mind that compiling Release might be very slow!