Migrate exist projects of cocos2d-x or older axmol to compile with latest axmol engine,
- axmol latest change remove
CC
prefix from sources files, so if exist projects not includecocos2d.h
only, or include other header files of engine, you can use this tool to fast migrate your sources code includes. - axmol migrating
GLSL 100
to modernESSL 310
dropping GLESv2 support, this tool also support migrate existGLSL 100
toESSL 310
- clone this repo
- double click the
build.ps1
of this project - do migrate:
- migrate c++ code:
pwsh .\build_x64\axmol-migrate source --fuzzy --source-dir <path/to/your/project/>
- migrate shader file:
pwsh .\build_x64\axmol-migrate shader --source-dir <path/to/your/shaders/>
- migrate c++ code: