PS: Add --forecerebuild flag when calling il2cpp.exe
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user