I am working on something that requires the program to build as 32bit and 64 bit. So basically I want a 32bit MyProgram.exe and then MyProgram.x64.exe in my folder when I build the whole thing. Is this possible? I am not sure how to do this. When I just build it, it just builds a 64 bit MyProgram.exe because I am running on a 64 bit machine, but I want two exe files. Is this even possible? I am using Visual Studio 2013 express, I am not sure how to mess with the settings to do this. Or something that has to do inside my code?
If you want to do it by the click of the button, you need to specify to build it as a post-build event.
If you use Visual Studio Premier+, you can use Build->Batch Build to achieve this.