# Il2CppLTOMode

> LTO (Link Time Optimization) mode options for IL2CPP builds.

## Definition

* **Type:** Enum
* **Namespace:** [UnityEditor](/engine/6000.5/script-reference/unityeditor.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
public enum Il2CppLTOMode
```

## Remarks

Supported Platforms:

* Linux
* EmbeddedLinux

This setting controls the level of link-time optimization (LTO) applied during the build process. This setting applies only if you set [Il2CppCompilerConfiguration](/engine/6000.5/script-reference/unityeditor/il2cppcompilerconfiguration.md) to [Il2CppCompilerConfiguration.Master](/engine/6000.5/script-reference/unityeditor/il2cppcompilerconfiguration/master.md).

## Fields

| Value                                                                     | Description                                                                                                                                                      |
| ------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [Full](/engine/6000.5/script-reference/unityeditor/il2cppltomode/full.md) | Full LTO mode. This mode performs the most link-time optimizations, potentially improving runtime performance at the expense of longer build times.              |
| [None](/engine/6000.5/script-reference/unityeditor/il2cppltomode/none.md) | No LTO mode is applied.                                                                                                                                          |
| [Thin](/engine/6000.5/script-reference/unityeditor/il2cppltomode/thin.md) | Thin LTO mode. This mode performs fewer link-time optimizations compared to Full LTO, resulting in faster build times but potentially lower runtime performance. |
