mirror of https://github.com/axmolengine/axmol.git
88382994b9 | ||
---|---|---|
.. | ||
.gitignore | ||
README.md | ||
build_config.json | ||
excopy.py | ||
gen_prebuilt_libs.py | ||
module_config.json | ||
module_organize.py |
README.md
Generate prebuilt engine
Purpose
The tools in gen-prebuilt
are used for generating prebuilt engine.
Steps
- Generate prebuilt libs
- First, build libs for
Mac, iOS & android
: Runpython gen_prebuilt_libs.py
on Mac. - Second, build libs for
Windows
: Runpython gen_prebuilt_libs.py -n
on Windows.
- First, build libs for
- Organize the prebuilt libs with modules
Run commandpython module_organize.py
on Windows or Mac.
Script Details
-
gen_prebuilt_libs.py
Usage: gen_prebuilt_libs.py [options] Options: -c Remove the "prebuilt" directory first. -n, --no-android Not build android libs. -s, --strip Enable strip when generating iOS, Mac & Android libs. -i, --incredibuild Use incredibuild to build win32 projects. Only available on windows.
The result of the script is : A folder named
prebuilt
which contains prebuilt libs will generated. -
module_organize.py
Usage: module_organize.py [options] Options: -d, --dst-root Specify a path where to place the engine organized by modules. Default value is the same path with `module_organize.py`.
The result of the script is : A folder named
cocos2d-x
will generated in thedst-root
.