C/C++ build system written in bash
Go to file
2025-11-09 23:09:34 +05:00
default_tasks changed compile_c and compile_cpp functions 2024-07-21 01:55:55 +03:00
default_vscode added default_vscode/c_cpp_properties.json 2025-11-09 20:32:34 +05:00
example_dependency_configs typo fixes 2025-07-18 02:21:12 +03:00
include added file_copy_default_if_not_present() and replace_var_value_in_script() 2025-11-09 23:09:34 +05: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 v2.3.0: project user config 2025-11-09 21:45:10 +05:00
cbuild.sh moved srcipts to include/ and changed function include() 2025-11-09 22:20:58 +05:00
CHANGELOG.md added file_copy_default_if_not_present() and replace_var_value_in_script() 2025-11-09 23:09:34 +05:00
project.config.default moved srcipts to include/ and changed function include() 2025-11-09 22:20:58 +05:00
project.config.user.default v2.3.0: project user config 2025-11-09 21:45:10 +05:00
README.md readme fix 2024-09-13 21:12:25 +05:00
setup.sh moved srcipts to include/ and changed function include() 2025-11-09 22:20:58 +05: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