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
--
_______________________________________________
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus