tesohh-bricks

Crates.iotesohh-bricks
lib.rstesohh-bricks
version1.0.4
created_at2025-02-28 15:51:50.321203+00
updated_at2025-03-02 12:30:11.951363+00
descriptionbuild system and package manager for C/C++
homepagehttps://github.com/Tesohh/bricks
repositoryhttps://github.com/Tesohh/bricks
max_upload_size
id1572942
size141,203
Simone Tesini (Tesohh)

documentation

https://tesohh.github.io/bricks

README

bricks

build system and package manager for C/C++

Documentation

Go to the bricks guide

Installing

Requirements

  • pkg-config
  • a c compiler
  • an archiver such as ar
  • rust toolchain if building from source or installing through cargo

Prebuilt binary

Through cargo

cargo install tesohh-bricks

From source

git clone https://github.com/Tesohh/bricks.git
cd bricks
cargo install --path .

Project setup

To initialize a new project (binary):

bricks init project_name

After adding all dependencies to the brick.toml file, run bricks install

learn more on the guide

Config

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"
Commit count: 120

cargo fmt