This commit is contained in:
Timerix 2024-07-12 02:42:44 +03:00
parent fc833508b8
commit ace31427c3

View File

@ -1,13 +1,23 @@
# cbuild # cbuild
My C/C++ build system written in bash. My C/C++ build system written in bash.
Repo contains some functions, which can be used in your custom task scripts. There are also some default tasks.
All tasks can be launched through `Makefile` or `cbuild/call_task.sh`. Tasks can be configured in `current.config`. ## Installation
## How to set up
```bash ```bash
git clone https://timerix.ddns.net:3322/cbuild.git && \ git clone https://timerix.ddns.net:3322/cbuild.git
cbuild/setup.sh submodule cd cbuild
sudo ./setup.sh
```
## Usage
1. Initialize cbuild project in some directory:
```bash
cd some_project
cbuild --new-project
```
2. Edit `default.config`.
3. Call some tasks:
```bash
cbuild build_exec_dbg exec_dbg
``` ```
Than create your project `default.config` based on `cbuild/default.config`.