C/C++ build system written in bash
Go to file
2024-07-21 06:35:00 +03:00
default_tasks changed compile_c and compile_cpp functions 2024-07-21 01:55:55 +03:00
example_dependency_configs dependency compilation 2024-07-15 23:01:38 +03:00
.gitignore parse_version 2024-07-19 00:13:12 +03:00
bootstrap.sh bootstrap help and version list 2024-07-21 05:01:40 +03:00
CBUILD_VERSION v2.1.2 2024-07-21 06:35:00 +03:00
cbuild.sh v2.1.2 2024-07-21 06:35:00 +03:00
CHANGELOG.md v2.1.2 2024-07-21 06:35:00 +03:00
chmod_scripts.sh v2.0.0 2024-07-12 01:55:58 +03:00
config.sh v2.1.0 2024-07-19 01:56:33 +03:00
default.config v2.1.2 2024-07-21 06:35:00 +03:00
detect_os.sh v2.0.0 2024-07-12 01:55:58 +03:00
functions.sh v2.1.2 2024-07-21 06:35:00 +03:00
myprint.sh optimized line printing 2024-07-19 01:43:57 +03:00
README.md bootstrap help and version list 2024-07-21 05:01:40 +03:00
setup.sh v2.1.2 2024-07-21 06:35:00 +03:00

cbuild

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

Installation

git clone https://timerix.ddns.net:3322/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