Skip to content

Commit

Permalink
chore(readme): modify readme
Browse files Browse the repository at this point in the history
  • Loading branch information
ilikethese committed Jul 1, 2021
1 parent 83738a5 commit cf1cd08
Show file tree
Hide file tree
Showing 29 changed files with 2,159 additions and 541 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Build
shell: bash
# Execute the build. You can specify a specific target with "--target <NAME>"
run: sh build.sh -s linux -a x86_64 -t debug
run: cd cmake; sh generate.sh linux

- name: Test
shell: bash
Expand Down
41 changes: 0 additions & 41 deletions CMakeLists.txt

This file was deleted.

5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,14 @@ Taitank is now applied in 27 [Tencent](http://www.tencent.com/) apps such as Mob
2. [Android Studio](https://developer.android.com/studio) with NDK: build Android so.
3. [Xcode](https://developer.apple.com/xcode/) with iOS sdk: build iOS so.
4. [emscripten](https://emscripten.org/docs/getting_started/downloads.html): build wasm.
5. [Python](https://www.python.org/): script to build taitank layout.

### Build your first libiary

Change directory to cmake to build your project.

```bash
build.sh [ -s system ] [ -a architecture ] [ -t debug|release ]
cd cmake
```

### Support Platforms
Expand Down
5 changes: 4 additions & 1 deletion README.zh_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,14 @@ Taitank 是一个支持 Flex 的跨平台的轻量级的 c++ 排版引擎。
2. [Android Studio](https://developer.android.com/studio) 和 NDK: 用以编译 Android so
3. [Xcode](https://developer.apple.com/xcode/) 和 iOS sdk: 用以编译 iOS so.
4. [emscripten](https://emscripten.org/docs/getting_started/downloads.html): 用以编译 wasm.
5. [Python](https://www.python.org/): 用以执行编译脚本.

### 编译出你的库

切换到 cmake 目录

```bash
build.sh [ -s system ] [ -a architecture ] [ -t debug|release ]
cd cmake
```

### 支持的平台
Expand Down
Loading

0 comments on commit cf1cd08

Please sign in to comment.