C/C++ build system written in bash
Go to file
2025-07-18 02:21:12 +03:00
default_tasks changed compile_c and compile_cpp functions 2024-07-21 01:55:55 +03:00
default_vscode added default vscode launch config 2025-04-25 20:29:19 +05:00
example_dependency_configs typo fixes 2025-07-18 02:21:12 +03:00
.gitattributes removed '\r' AGAIN 2025-06-20 19:21:34 +05:00
.gitignore parse_version 2024-07-19 00:13:12 +03:00
bootstrap.sh bootstrap can show help for cbuild installations again 2025-04-26 03:57:09 +05:00
CBUILD_VERSION removed \r characters from detect_os.sh 2025-06-20 19:11:08 +05:00
cbuild.sh removed \r characters from detect_os.sh 2025-06-20 19:11:08 +05:00
CHANGELOG.md removed \r characters from detect_os.sh 2025-06-20 19:11:08 +05:00
chmod_scripts.sh v2.0.0 2024-07-12 01:55:58 +03:00
config.sh added detect_arch function and ARCH global variable 2025-04-25 19:23:41 +05:00
default.config typo fixes 2025-07-18 02:21:12 +03:00
detect_os.sh fixed detect_os.sh again 2025-06-20 19:29:52 +05:00
functions.sh copy dependency's out files only if they are newer or don't exist 2025-04-26 00:23:13 +05:00
myprint.sh optimized line printing 2024-07-19 01:43:57 +03:00
README.md readme fix 2024-09-13 21:12:25 +05:00
setup.sh 2.1.3 2024-08-09 05:59:19 +03:00

cbuild

My C/C++ build system written in sh.

Installation

git clone https://timerix.ddns.net:3322/Timerix/cbuild.git
cd cbuild
sudo ./setup.sh 

Can be installed to ~/.local/ if you have no root rights.

  • ./setup.sh --local
    
  • Then add ~/.local/bin to PATH in your shell config.

Usage

  1. Initialize cbuild project in some directory:
    cd some_project
    cbuild --new-project
    
  2. Edit project.config.
  3. Call some tasks:
    cbuild build_exec_dbg exec
    

P.S. See help

cbuild -h