Reminder: Pre-built binaries are available for everyday tests.
- A Rust and C toolchain.
fontconfig(optional, required forcrusader-gui)
Note: To install fontconfig on Ubuntu:
sudo apt install libfontconfig1-devTo develop or debug Crusader, use the commands below to build the full set of binaries. Executables are placed in src/target/release
To build the crusader command line executable:
cd src
cargo build -p crusader --releaseTo build both command line and GUI executables:
cd src
cargo build --releaseCreate a debug build by using cargo build
(instead of cargo build --release).
Binaries are saved in the src/target/debug directory
To build a docker container that runs the server:
cd docker
docker build .. -t crusader -f server-static.Dockerfile