readme
This commit is contained in:
parent
fc833508b8
commit
ace31427c3
24
README.md
24
README.md
@ -1,13 +1,23 @@
|
||||
# cbuild
|
||||
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`.
|
||||
|
||||
## How to set up
|
||||
## Installation
|
||||
```bash
|
||||
git clone https://timerix.ddns.net:3322/cbuild.git && \
|
||||
cbuild/setup.sh submodule
|
||||
git clone https://timerix.ddns.net:3322/cbuild.git
|
||||
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`.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user