https://github.com/axmolengine/axmol-migrate
https://github.com/axmolengine/axmol-migrate
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/axmolengine/axmol-migrate
- Owner: axmolengine
- License: mit
- Created: 2023-07-03T03:30:45.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-05-19T14:57:57.000Z (about 2 years ago)
- Last Synced: 2025-05-04T21:49:41.904Z (about 1 year ago)
- Language: C++
- Size: 387 KB
- Stars: 2
- Watchers: 1
- Forks: 3
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# axmol-migrate
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**
## Whey needs
- axmol 1.x latest change remove `CC` prefix from sources files, so if exist projects not include `cocos2d.h` only, or include
other header files of engine, you can use this tool to fast migrate your sources code includes.
- axmol 2.0 migrating `GLSL 100` to modern `ESSL 310`, this tool also support migrate exist `GLSL 100` to `ESSL 310`
## steps
1. clone this repo
2. just run `build.ps1` in this project root
3. do migrate:
- migrate c++ code: `pwsh .\build_x64\axmol-migrate code --fuzzy --source-dir `
- migrate shader file: `pwsh .\build_x64\axmol-migrate shader --source-dir `