Clément 148 Posted August 31, 2021 Hello, I would like to use the same project (cKwel.dproj) and I would like the output executable to be cKwel32.exe when compiling for 32 bits amd cKwel.exe when compiling for 64 bits. Is there any settings in the IDE or in code I can set? I'm using 10.4.2 TIA, Clément Share this post Link to post
Uwe Raabe 2057 Posted August 31, 2021 44 minutes ago, Clément said: I would like the output executable to be cKwel32.exe when compiling for 32 bits In Project Options - Building - Build Events select All configurations - Windows 32-bit platform. Then in Post-build events set Commands to ren $(OUTPUTPATH) $(OUTPUTNAME)32$(OUTPUTEXT) Note, that you won't be able to debug that. 1 Share this post Link to post
Clément 148 Posted August 31, 2021 I thought I was missing some parameter in a newer IDE. Anyway, I created a "Deploy" configuration where I would the code. Thanks! Share this post Link to post
mvanrijnen 123 Posted August 31, 2021 see also: delphi - XE4: How to change exe output name base on platform? - Stack Overflow Quote Simple trick allow it: Go to Project Settings->Application and in field "Target file extensions" add unique suffix for every configuration. e.g Debug 32 bit: debug32.exe Debug 64 bit: debug64.exe Release 32 bit: 32.exe Release 64 bit: 64.exe Output for project with name "ProjectName": ProjectName.debug32.exe ProjectName.debug64.exe ProjectName.32.exe ProjectName.64.exe 1 Share this post Link to post