Download

how to specify compiler and compiler options

Guys, due to the fact that UE4 uses nmake build, I have a question:

how to specify compiler and compiler options (I’d like to use intel’s compiler instead of VS)?
I assume there must be a makefile, but I’ve tried to look for this file and couldn’t find it.

Could anyone please help me with this?

Thank you.

Please take a look at this file. Based on that class you should be able to write something like IntelToolchain.


...\Engine\Source\Programs\UnrealBuildTool\Windows\VCToolChain.cs

Thanks Jarek, appreciated.
Best regards

Also, selecting Compiler Version under* Edit>Project Settings>Platforms>Toolchain* is the GUI friendly way of doing this.

After 4.22 use …\Platform\Windows\VCToolChain.cs

1 Like