|
|
6 years ago | |
|---|---|---|
| cmake | 6 years ago | |
| doc | 6 years ago | |
| src | 6 years ago | |
| tests | 6 years ago | |
| tools | 6 years ago | |
| .gitattributes | 7 years ago | |
| .gitignore | 6 years ago | |
| CMakeLists.txt | 6 years ago | |
| LICENSE | 7 years ago | |
| Natsu.sln | 6 years ago | |
| README.md | 6 years ago |
natsu-clr is an il2cpp transpiler and runtime compatible with .Net Core.
natsu-clr 是一个兼容 .Net Core 的 IL2CPP 编译器和运行时。
Install .Net Core SDK 3.0 and CMake
Build compiler
dotnet build Natsu.sln
Run compiler to generate .h and .cpp
cd src/Natsu.Compiler/bin/Debug/netcoreapp3.0 && ./Natsu.Compiler
Build runtime and app
mkdir out && cd out
cmake .. -DCHINO_ARCH=Emulator -DCHINO_BOARD=Emulator -DCHINO_APP=Chino.Apps.Shell