How to manually select unreal engine compiler

  c++, unreal-engine4

I recently switched to the Unreal Engine and saw that it uses the microsoft VS compiler for the compilation of its c++ programs. I am using unreal version 4.26 and I have 2 versions of the visual studio build tools installed, 2017 and 2019. I am not using the VS IDE, I am using VS code as an editor. I am curious as to where and how does unreal engine decide which compiler to use for its compilation purposes.

If possible, can I manually configure it?

Source: Windows Questions C++