IL2CPP参数表
IL2CPP参数表
IL2CPP
Options | 描述 |
---|---|
–configuration= | The build configuration. Debug |
–outputpath= | Path to output the compiled binary |
–additional-defines=<value,value,..> | Defines for generated C++ code compilation |
–additional-libraries=<value,value,..> | One or more additional libraries to link to generated code |
–additional-include-directories=<path,path,..> | One or more additional include directories |
–additional-link-directories=<path,path,..> | One or more additional link directories |
–additional-cpp=<path,path,..> | Additional C++ files to include |
–verbose | Enables verbose output from tools involved in building |
–cachedirectory= | A directory to use for caching compilation related files |
–forcerebuild | Forces a rebuild |
–compiler-flags= | Additional flags to pass to the C++ compiler |
–linker-flags= | Additional flags to pass to the linker |
–libil2cpp-static | Links il2cpp as static library to the executable |
–libil2cpp-cache-directory= | Cache directory to use when building libil2cpp as dynamic link library |
–treat-warnings-as-errors | Enables warnings as errors for compiling generated C++ code |
–assembly=<path,path,..> | One or more paths to assemblies to convert |
–directory=<path,path,..> | One or more directories containing assemblies to convert |
–generatedcppdir= | The directory where generated C++ code is written |
–data-folder= | The directory where non-source code data will be written |
–symbols-folder= | The directory where symbol information will be written |
–plugin=<value,value,..> | Path to an il2cpp plugin assembly |
–map-file-parser= | Path to MapFileParser binary |
–profiler-report | Enable generation of a profiler report |
–convert-to-cpp | Convert the provided assemblies to C++ |
–compile-cpp | Compile generated C++ code |
–emit-null-checks | Enables generation of null checks |
–enable-stacktrace | Enables generation of stacktrace sentries in C++ code at the start of every managed method. This enables support for stacktraces for platforms that do not have system APIs to walk the stack (for example, one such platform is WebGL) |
–enable-stats | Enables conversion statistics |
–enable-array-bounds-check | Enables generation of array bounds checks |
–enable-divide-by-zero-check | Enables generation of divide by zero checks |
–stats-output-dir= | The directory where statistics information will be written |
本文由作者按照 CC BY 4.0 进行授权