Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
BewareMyPower committed Nov 27, 2019
1 parent 05cf5da commit 327da0e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 15 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,11 @@ Ensure your system has boost (>= 1.41), cmake (>= 2.8) and swig (>= 3.0.12) inst
#### git clone:
git clone --recursive https://github.com/Qihoo360/kafkabridge.git

### 1. Compile rdkafka
### 1. Install submodules

Navigate to the `cxx` directory and run `./build_librdkafka.sh`, you'll get `librdkafka.a` in `thirdparts/librdkafka/src` subdirectory.
Run `./build_dependencies.sh`.

It will automatically download submodules and install them to `cxx/thirdparts/local` where `CMakeLists.txt` finds headers and libraries.

### 2. Build SDK

Expand Down
6 changes: 4 additions & 2 deletions README_ZH.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,11 @@

git clone --recursive https://github.com/Qihoo360/kafkabridge.git

### 1. 编译rdkafka
### 1. 安装子模块

进入`cxx`目录,执行`./build_librdkafka.sh`,在`thirdparts/librdkafka/src`子目录下会生成`librdkafka.a`
运行`./build_dependencies.sh`

它会自动下载子模块,并将其安装到`cxx/thirdparts/local`,即`CMakeLists.txt`查找头文件和库文件的目录。

### 2. 编译SDK

Expand Down
11 changes: 0 additions & 11 deletions golang/README.md

This file was deleted.

0 comments on commit 327da0e

Please sign in to comment.