Skip to content
/ bit Public

BIT is a minimal C++ build system designed to be fast, portable, and easy to use. It’s written in pure C++ with no standard library, making it extremely lightweight and dependency-free.

License

Notifications You must be signed in to change notification settings

csodelinux/bit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BIT

Make files made easier.

Introduction

BIT is a simpified version of make files with the soul intention of buiding projects made in C++. This project was inspired by tsoding. Its intention is it to simplify the pain of making executables and linking them.

Usage

When working with many files and all you want to do is comiple and hate the idea of setting rules this helps you simplify the process

Philsophy

Its philosophy lies with in the same unix philosophy do one thing and do it well. So instead of having make files with rules and targets all you need to do is define your file. It will handle all the ruleing for you instead of you creating it. This idea make files are great but there was one issue if all I wanted to do was compile and build setting rules everytime feels like a hassle and well making a template my seem good having a tool for that is even better.

Installation

Stable branch (Recommended) :

This branch is the tried and tested one so clone the repo and run the curl script.

curl -sSL https://raw.githubusercontent.com/csodelinux/bit/main/install.sh | bash

Instruction

Instruction on how to use it is fairly simple

  1. First create a build.bit in your project directory.
    touch build.bit
        
  2. Open in in your favorite editor. Then add our rules. If you want to learn more about rules refer to the rules page reference section.
    compiler=gcc
    build_file=output
    source_file=main.c
    build_type=executable
        
  3. Then simply run the command.
    bit
        

License

This project is licensed under the MIT LICENSE - see the LICENSE file for details.

Contribution

If you want to contribute to this project see the contribution page contribution.

Changelog

Changes made can be found in changelog.

Future improvement

  1. Handeling with different directories of header and source.
  2. Cross platform compatibily.
  3. Proper packaging and adding cmake as its build system.

Uninstallation

To remove the binary and all the packaging just run the follwing command

curl -sSL https://raw.githubusercontent.com/csodelinux/bit/main/scripts/uninstall.sh | bash

FAQ

If you have questions and find an issue feel free to ask.

Copyright

This document is copyrighted © 2025 by [csodelinux]. All rights reserved.

About

BIT is a minimal C++ build system designed to be fast, portable, and easy to use. It’s written in pure C++ with no standard library, making it extremely lightweight and dependency-free.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published