linkerexecutablec++builder-xe2

C++ Builder XE2 - different executable name for debug and release version


Is it possible to have different executable name for debug and release version? The executable should be copied to the same output directory for example

C:\Projects\Hello world\bin

In this particular case I want to output two files:

C:\Projects\Hello world\bin\ Hello world.exe

and

C:\Projects\Hello world\bin\ Hello worldD.exe


Solution

  • You can use a Post-Build event to rename the executable after it has been compiled. Different build configurations can have different events defined.