文章

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
–verboseEnables verbose output from tools involved in building
–cachedirectory=A directory to use for caching compilation related files
–forcerebuildForces a rebuild
–compiler-flags=Additional flags to pass to the C++ compiler
–linker-flags=Additional flags to pass to the linker
–libil2cpp-staticLinks il2cpp as static library to the executable
–libil2cpp-cache-directory=Cache directory to use when building libil2cpp as dynamic link library
–treat-warnings-as-errorsEnables 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-reportEnable generation of a profiler report
–convert-to-cppConvert the provided assemblies to C++
–compile-cppCompile generated C++ code
–emit-null-checksEnables generation of null checks
–enable-stacktraceEnables 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-statsEnables conversion statistics
–enable-array-bounds-checkEnables generation of array bounds checks
–enable-divide-by-zero-checkEnables generation of divide by zero checks
–stats-output-dir=The directory where statistics information will be written
本文由作者按照 CC BY 4.0 进行授权