Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to force resource compiler on each compile?

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

like image 804
Stijn Sanders Avatar asked Jun 01 '12 08:06

Stijn Sanders


1 Answers

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.

like image 106
David Brabant Avatar answered Sep 19 '22 18:09

David Brabant