32 lines
563 B
Markdown
32 lines
563 B
Markdown
# cbuild
|
|
My C/C++ build system written in sh.
|
|
|
|
|
|
## Installation
|
|
```sh
|
|
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.
|
|
- ```sh
|
|
./setup.sh --local
|
|
```
|
|
- Then add `~/.local/bin` to `PATH` in your shell config.
|
|
|
|
## Usage
|
|
1. Initialize cbuild project in some directory:
|
|
```sh
|
|
cd some_project
|
|
cbuild --new-project
|
|
```
|
|
2. Edit `project.config`.
|
|
3. Call some tasks:
|
|
```sh
|
|
cbuild build_exec_dbg exec
|
|
```
|
|
P.S. See help
|
|
```sh
|
|
cbuild -h
|
|
```
|