# GetAdditionalCompilerArguments(NamedBuildTarget)

> Gets an array of additional compiler arguments set for a specific NamedBuildTarget.

## Definition

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

```csharp
public static string[] GetAdditionalCompilerArguments(NamedBuildTarget buildTarget)
```

### Parameters

**** (\[NamedBuildTarget]\(/engine/6000.7/script-reference/unityeditor/build/namedbuildtarget)): The [NamedBuildTarget](/engine/6000.7/script-reference/unityeditor/build/namedbuildtarget.md) to get the compiler arguments for.

### Returns

| Type                                                               | Description                                                                                                                                               |
| ------------------------------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [string\[\]](https://learn.microsoft.com/dotnet/api/system.string) | Returns an array with the compiler arguments associated with a [NamedBuildTarget](/engine/6000.7/script-reference/unityeditor/build/namedbuildtarget.md). |

### Remarks

Additional Resources: [AdditionalCompilerArguments](/engine/6000.7/script-reference/unityeditor/compilation/scriptcompileroptions/additionalcompilerarguments.md).
