build system and package manager for C/C++
Go to the bricks guide
pkg-config- a c compiler
- an archiver such as
ar - rust toolchain if building from source or installing through cargo
- Visit https://github.com/Tesohh/bricks/releases
- download your preferred version.
cargo install tesohh-bricksgit clone https://github.com/Tesohh/bricks.git
cd bricks
cargo install --path .To initialize a new project (binary):
bricks init project_nameAfter adding all dependencies to the brick.toml file, run bricks install
learn more on the guide
Here is an example config for a raylib project:
[brick]
name = "project_name"
kind = "binary"
lang = "c"
edition = "c99"
[libs.raylib]
kind = "git"
repo = "https://github.com/raysan5/raylib.git"
version = "5.5"
overrides.build = "cd src; make"
overrides.include_dir = "src"
overrides.lib_dir = "src"