Skip to content

Commit 04c8e8a

Browse files
committed
update readme
1 parent 0a94a79 commit 04c8e8a

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

README.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ In order to run these scripts, you should install [msys2](http://msys2.github.io
5353

5454
After that, you should also install the following dependencies:
5555

56-
```cpp
56+
```
5757
pacman -S gcc
5858
pacman -S make
5959
pacman -S autoconf
@@ -69,12 +69,12 @@ We have one build script for each platform, they are under `build/platform{ios/m
6969
All of them share the same usage:
7070

7171
```
72-
./build.sh --libs=param1 --arch=param2 --mode=param3
72+
./build.sh --libs=param1 --arch=param2 --mode=param3 --list
7373
```
7474

7575
- param1:
7676
- use `all` to build all the 3rd party libraries, it will take you a very long time.
77-
- use comma separated library names, for example, `png,lua,jpeg/webp`, no space between the comma.
77+
- use comma separated library names, for example, `png,lua,jpeg,webp`, no space between the comma.
7878

7979
- param2:
8080
- use `all` to build all the supported arches. For iOS, they are "armv7, arm64, i386, x86_64", for Android, they are "armeabi, armeabi-v7a, x86, arm64", for Mac, they are "x86_64", for Tizen, they are "armv7"
@@ -84,10 +84,13 @@ All of them share the same usage:
8484
- release: Build library on release mode. This is the default option. We use `-O3 -DNDEBUG` flags to build release library.
8585
- debug: Build library on debug mode. we use `-O0 -g -DDEBUG` flag to build debug library.
8686

87+
- list:
88+
- Use these option to list all the supported libraries.
89+
8790
### For iOS Platform
8891
For building libpng fat library with all arch x86_64, i386, armv7, arm64 on release mode:
8992

90-
```cpp
93+
```
9194
cd build/ios
9295
./build.sh --libs=png
9396
```

0 commit comments

Comments
 (0)