Skip to content

Commit 812bd87

Browse files
updates the README
1 parent 2423869 commit 812bd87

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

README.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,12 @@ cocos2d-x 3rd party libs
33

44
This repository includes the source code of the 3rd party libraries (binary) that are bundled with cocos2d-x.
55

6-
This repository is needed for cocos2d-x developers and/or people who want to port cocos2d-x to other platforms.
6+
This repository is needed for cocos2d-x developers and/or people who want to:
7+
8+
* generate a updated version of a certain library (eg: upgrade libpng 1.2.2 to 1.2.14)
9+
* port cocos2d-x to other platforms (eg: port it to Android ARM64, or Xbox One, etc)
10+
* generate DEBUG versions of all the 3rd party library
711

8-
As an example, if you want to support cocos2d-x in ARM64, you need to compile all these libraries for ARM64.
912

1013
**Note:**
1114

@@ -15,21 +18,19 @@ As an example, if you want to support cocos2d-x in ARM64, you need to compile al
1518

1619
- We use Ubuntu to build all the static libraries for Linux.
1720

18-
- Other platforms is not tested which means if you use Windows or Linux to build static libraries for Android, it might be failed.
19-
21+
Other configuration were not tested. Compiling the Android binaries from a Linux
22+
or Windows machine were not tested, so we don't know if it works or not.
2023

2124
## Download
2225

2326
$ git clone https://github.com/cocos2d/cocos2d-x-3rd-party-libs-src.git
24-
$ cd cocos2d-x-dependencies
25-
$ git submodule update --init
2627

2728
## Prerequisite
2829
### For Mac users
2930
- If you want to use these scripts, you should install Git 1.8+, CMake 2.8+ and M4 1.4+.
3031
If you are a Homebrew user, you could simply run the following commands to install these tools:
3132

32-
```cpp
33+
```
3334
brew update
3435
brew install git
3536
brew install cmake
@@ -104,7 +105,7 @@ All the other libraries share the same folder structure.
104105

105106
For building libpng fat library with arch armv7 and arm64 on debug mode:
106107

107-
```cpp
108+
```
108109
cd build/ios
109110
./build.sh --libs=png --arch=armv7,arm64 --mode=debug
110111
```

0 commit comments

Comments
 (0)