[Lazarus] "Execute before" is executed after resource generation?
Mattias Gaertner
nc-gaertnma at netcologne.de
Thu May 23 12:40:32 CEST 2024
On 5/22/24 15:03, Luca Olivetti via lazarus wrote:
> Hello,
>
> I'm trying to use the "Compiler commands" -> "Execute before" to
> generate a file that will be embedded as a resource in the executable,
> but it seems the command is executed after the resources are compiled
> (there's a message complaining that the file is not found and in fact
> when I execute the program the resource is not available).
> Is there a way around it, other than executing the command manually?
If you mean the project .res file:
That is updated on save, which is independent of compile.
Mattias
More information about the lazarus
mailing list