readme
This commit is contained in:
parent
fc833508b8
commit
ace31427c3
24
README.md
24
README.md
@ -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
|
||||||
```
|
```
|
||||||
Than create your project `default.config` based on `cbuild/default.config`.
|
|
||||||
|
## 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
|
||||||
|
```
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user