Hello,
This is what I would like to do:
Given a program source named "MyProgram.lpr". I'd like Lazarus to output the exe as "MyProgram32.exe" when built in 32bit mode and "MyProgram64.exe" when built in 64bit mode.
Additionally, I'd like the executables to be output in the same directory as the source directory.
It would be particularly nice if the output name could be something like "MyProgram32d.exe" for the debug version and "MyProgram32r.exe" for the release version, of course, the same for 64bit exe generation.
Also, if the above is possible using build modes (or any other way), I'd like those build modes to be available for any project I open. IOW, I don't want to have to create those build modes for every project I open, I want Lazarus to remember them and make them available automatically, adjusting the output names based on the name of the open project (lpr file.)
Something tells me it is possible to do it but, I haven't figured out how to make it all work (other than manually editing the build modes for every project - which gets cumbersome when one has more than a few projects.)
Thank you for your help.