Is there a way that I can change the name of the executable based on a conditional define? I don't see any switches that the compiler provides. I can create a post compile action to rename the .exe I suppose but I was hoping to keep the configuration within source code.
The idea is that if I define XYZ when I compile then the exe will be called 'ProgramA.exe' and if I haven't defined XYZ then the exe will be called 'ProgramB.exe'.
The idea is that if I define XYZ when I compile then the exe will be called 'ProgramA.exe' and if I haven't defined XYZ then the exe will be called 'ProgramB.exe'.