PS: Add --forecerebuild flag when calling il2cpp.exe

This commit is contained in:
Katy Coe
2019-11-02 16:37:34 +01:00
parent f2fcd7cd59
commit 965b72806d

View File

@@ -59,7 +59,7 @@ $bin = "$PSScriptRoot/TestBinaries"
# We try to make the arguments as close as possible to a real Unity build # We try to make the arguments as close as possible to a real Unity build
# "--lump-runtime-library" was added to reduce the number of C++ files generated by UnityEngine (Unity 2019) # "--lump-runtime-library" was added to reduce the number of C++ files generated by UnityEngine (Unity 2019)
$arg = '--convert-to-cpp', '--compile-cpp', '--libil2cpp-static', '--configuration=Release', ` $arg = '--convert-to-cpp', '--compile-cpp', '--libil2cpp-static', '--configuration=Release', `
'--emit-null-checks', '--enable-array-bounds-check', ` '--emit-null-checks', '--enable-array-bounds-check', '--forcerebuild', `
'--map-file-parser=$UnityPath\il2cpp\MapFileParser\MapFileParser.exe' '--map-file-parser=$UnityPath\il2cpp\MapFileParser\MapFileParser.exe'
# Prepare output folders # Prepare output folders