You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
## Building
|
|
|
|
|
|
|
|
### Install dependencies
|
|
|
|
|
|
|
|
- g++
|
|
|
|
- cmake
|
|
|
|
- boost system
|
|
|
|
- sqlite3-devel, static
|
|
|
|
- openssl-static
|
|
|
|
- zlib-static
|
|
|
|
|
|
|
|
### Clone repo
|
|
|
|
|
|
|
|
```bash
|
|
|
|
git clone --recurse-submodules https://git.topost.net/alistair/karetele.git
|
|
|
|
```
|
|
|
|
|
|
|
|
or
|
|
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
git clone https://git.topost.net/alistair/karetele.git
|
|
|
|
git submodule init
|
|
|
|
git submodule update
|
|
|
|
```
|
|
|
|
|
|
|
|
### Build libraries
|
|
|
|
|
|
|
|
```bash
|
|
|
|
cd spdlog && mkdir build && cd build
|
|
|
|
cmake .. && make -j
|
|
|
|
|
|
|
|
cd tgbot-cpp
|
|
|
|
mkdir build && cd build
|
|
|
|
cmake .. && make -j4
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
3. build
|
|
|
|
|
|
|
|
```bash
|
|
|
|
cd karetele
|
|
|
|
mkdir build
|
|
|
|
cd build
|
|
|
|
cmake ..
|
|
|
|
make
|
|
|
|
```
|