|
|
%!s(int64=6) %!d(string=hai) anos | |
|---|---|---|
| cmake | %!s(int64=6) %!d(string=hai) anos | |
| doc | %!s(int64=6) %!d(string=hai) anos | |
| src | %!s(int64=6) %!d(string=hai) anos | |
| tests | %!s(int64=6) %!d(string=hai) anos | |
| tools | %!s(int64=6) %!d(string=hai) anos | |
| .gitattributes | %!s(int64=7) %!d(string=hai) anos | |
| .gitignore | %!s(int64=6) %!d(string=hai) anos | |
| CMakeLists.txt | %!s(int64=6) %!d(string=hai) anos | |
| LICENSE | %!s(int64=7) %!d(string=hai) anos | |
| Natsu.sln | %!s(int64=6) %!d(string=hai) anos | |
| README.md | %!s(int64=6) %!d(string=hai) anos |
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