[Lazarus] Compile project release with LCL custom optimization

Martin lazarus at mfriebe.de
Tue Mar 19 16:43:06 CET 2013


On 19/03/2013 15:38, Graeme Geldenhuys wrote:
> On 2013-03-19 11:21, Zaher Dirkey wrote:
>> I already have mode "Release" with that options, but not sure it take
>> over LCL sourcecode too.
> No, that is the really annoying thing about Lazarus Packages. Settings
> do not resonate up the hierarchy. So if you have settings in your
> Project, it is only for your project files, and not for any dependant
> packages.
>
> Mattias once mentioned there is a possibility of having settings
> resonate up the package hierarchy, but that meant Macros and other
> trickery - thus modifying all packages that get pulled in by your project.
>

Yes, with macros you can force packages to be recompiled on project changes.


You can also change all (almost all) packages very quickly.

Most packages depend on FCL. So in FCL you can add options to the custom 
field in the "Usage" section. Anything that uses FCL will look at that 
"Usage" section




More information about the Lazarus mailing list