# How to Specify Unreal Engine Source/Project Compiler Toolchain and SDK

**URL:** <https://forums.unrealengine.com/t/how-to-specify-unreal-engine-source-project-compiler-toolchain-and-sdk/1904818>\
**Category:** Platform & Builds\
**Tags:** UE-5, unreal-engine, CPP\
**Created:** [June 16, 2024, 4:56am UTC](https://forums.unrealengine.com/t/how-to-specify-unreal-engine-source-project-compiler-toolchain-and-sdk/1904818 "2024-06-16T04:56:27Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Ben\_Pyton](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ben_pyton/32/1156170_2.png) [@Ben\_Pyton](https://forums.unrealengine.com/u/Ben_Pyton)\
**Post date:** [January 28, 2025, 3:37pm UTC](https://forums.unrealengine.com/t/how-to-specify-unreal-engine-source-project-compiler-toolchain-and-sdk/1904818/3 "2025-01-28T15:37:28Z")

</div>

Thank you very much @rohitsutreja this was exactly what I needed!

I package a plugin for multiple versions of UE (from 4.27 to 5.5) and setting the toolchain version in the `BuildConfiguration.xml` was causing issues:

- The ones located in the AppData and in the user’s Documents are shared by all engine versions.
- I tried to add one in the `Engine/Saved/UnrealBuildTool` but it doesn’t seem to work (maybe this one is used only when building the engine from source?)
- I package the plugin from command line, which creates a temporary project to compile it. So it was not an option to set it per-project.

However, using the `.ini` files allow me set a custom toolchain version _per engine_ (not per project).  
To do that I’ve just modified the file `<ENGINE_DIR>/Engine/Config/BaseEngine.ini` with the compiler version and the toolchain version.  
For example, for UE 5.3 I’ve modified `C:/Program Files/Epic Games/UE_5.3/Engine/Config/BaseEngine.ini` by adding those 2 lines in the `WindowsTargetSettings` group (by searching `Windows` in the file):

```auto
CompilerVersion="14.38.33130"
ToolchainVersion="14.38.33130"

```

So at the end it looks like that in the `BaseEngine.ini` file:

```auto
...

[/Script/WindowsTargetPlatform.WindowsTargetSettings]
+D3D12TargetedShaderFormats=PCD3D_SM5
+D3D11TargetedShaderFormats=PCD3D_SM5
bEnableDistanceFields=true
bEnableRayTracing=true
bTarget32Bit=false
CompilerVersion="14.38.33130"
ToolchainVersion="14.38.33130"

...

```

---

_[View the full topic](https://forums.unrealengine.com/t/how-to-specify-unreal-engine-source-project-compiler-toolchain-and-sdk/1904818)._
