Skip to content

Tesohh/bricks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

120 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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"

About

build system and package manager for C/C++

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages