Migrate exist projects of cocos2d-x or older axmol to compile with latest axmol engine
NOTICE: please ensure your project in SCM before use use this tool
- axmol 1.x latest change remove
CCprefix from sources files, so if exist projects not includecocos2d.honly, or include other header files of engine, you can use this tool to fast migrate your sources code includes. - axmol 2.0 migrating
GLSL 100to modernESSL 310, this tool also support migrate existGLSL 100toESSL 310
- clone this repo
- just run
build.ps1in this project root - do migrate:
- migrate c++ code:
pwsh .\build_x64\axmol-migrate code --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: