delphi - XE4: How to change exe output name base on platform? -
simply need output executable names myapp32.exe , myapp64.exe after compiling project in delphi xe4.
i found directive in forum {$libsuffix '32'} seems dlls.
any suggestions executable files?
thanks.
the final executable filename matches project filename. either create separate projects share common source code, or else use post-build event invoke script copies , renames output file separate deployment folder after has been compiled, such as:
copy /b "$(outputpath)" "c:\deployment\$(outputname)$(mysuffix)$(outputext)" where mysuffix defined in project options different value each platform:
mysuffix=32 .
mysuffix=64 by using separate folder, debugger still has access original un-renamed executable debugging , testing.
Comments
Post a Comment