Do 'Execute before' command before loading resource files
Original Reporter info from Mantis: josiasmat
-
Reporter name:
Original Reporter info from Mantis: josiasmat
- Reporter name:
Description:
Currently, when you compile a project in Lazarus (Windows), it first locates the resource files to be embedded into the executable, and after this it runs the 'Execute before' command (this can be set in the Project Options dialog).
I think the correct behaviour should be the inverse: first run the 'Execute before' command, and then load the resource files.
This has implications for my use-case: I use the 'Execute before' in one of my projects to compress some resource files, and then I load the compressed resources into my executable file. But, if I change one of my resources, and then compile my project in Lazarus, it will run the compress command only after loading the existent file. So to have the updated file I need compress it manually before, or instruct Lazarus to compile two times.
Mantis conversion info:
- Mantis ID: 37353
- OS: Windows 10
- OS Build: 1909
- Platform: x86-64
- Version: 2.0.8