[fpc-pascal] Resource compilation

Sven Barth pascaldragon at googlemail.com
Sun Sep 24 14:50:58 CEST 2017


On 23.09.2017 22:31, Martok wrote:
> Hi all,
> 
> the $R directive accepts resource scripts (RC) and compiles the RES file from it
> on demand.
> 
> However, that only happens if the RES file does not exist - if it does, the
> resource compiler is never invoked. Even clean-building the unit from source
> does not recompile the resource file. This is a bit awkward when the resource
> script (or any of the linked files) is changed: the only way to recreate the
> resource unit appears to be removing both the compiled unit and resource file.
> 
> Is there some sort of flag for this? I'd be fine with just recompiling the
> resource file every time the unit is compiled, windres is fast enough...

Please report a bug.

Regards,
Sven




More information about the fpc-pascal mailing list