No.
You may have (resources) compiler options for each build configuration in Delphi 2009. But this does not apply to other settings.
You can fake it, but it takes some time:
- In prebuild, delete the conf * .dcu files.
- Define DEBUG for debug configuration.
- Add the following to the project file:
code:
uses .. {$IFDEF DEBUG} confDebug, {$ELSE} confRelease, {$ENDIF} ..
- Now let post post build check for confDebug.dcu or confRelease.dcu to find which build configuration is being used.
It's a little cumbersome, but you can do what you want.
source share