Let's say that my application project is called myappname. I would like to have compiler generate application executable names dependant on the architecture and target, something similar to this:
myappname-win32-i386.exe
myappname-win64-amd64.exe
myappname-lin32-i386
myappname-lin64-amd64
Besides these I am eventually thinking about later adding linux arm variants and osx.
Is there an easy way to achieve this, or do I have to repeat this boring work by hand each time?