How to force resource compiler on each compile?
configuration, delphi, embedded-resource
Solution
Haven't used Delphi for years, but as far as I remember you can define pre-build events, can't you? You could touch all the rc files before building.
Problem
Is there a project/compiler/linker-setting that can force brcc32.exe to run on some or all `.rc` files included into the project? By default only `.rc` files that have changed get re-compiled, but not when any files included by the `.rc` are. For now we manually delete the `.res` file(s) to force a re-compile. Update: inspired by the accepted answer, I wrote this: https://gist.github.com/2868141