Separate PC builds from same project

Hi,

I am currently investigating how we might release our game on multiple PC platforms at the same time and I am struggling to figure how we can tell in code if we are building a Steam/EGS/GOG/etc build without adding extra logic to our build pipeline as all build platform come under Win64. Is there a recommended way that we handle supporting different platforms on PC from the same code base?

Thanks