Search Unity

Is there any way to change the C++ compiler when building with IL2CPP(for Android)?

Discussion in 'Scripting' started by JacobUrick, Aug 17, 2021.

  1. JacobUrick

    JacobUrick

    Joined:
    May 4, 2021
    Posts:
    1
    I want to use the .cpp files generated by il2cpp.exe, but I can't seem to find any indication that il2cpp.exe is being used here, so I can't take the .cpp files and compile them using a different compiler. Is there any way around this?
     
  2. PraetorBlue

    PraetorBlue

    Joined:
    Dec 13, 2012
    Posts:
    7,911
    If you dig around in Library/Il2cppBuildCache after a build, you should be able to find all the generated .cpp files.