[Lazarus] Compile project release with LCL custom optimization
Martin
lazarus at mfriebe.de
Sat Apr 13 17:06:43 CEST 2013
1) If you want a single package only, open the package and edit the
options like for a project.
2) Do add the same settings as for the IDE (from "configure build IDE")
http://imagebin.org/253861
Add $(IDEBuildOptions) to the custom options
Or for the options from the project: $(ProjectOpts)
Check the compiler output ("test" button) for the order it applies.
If one setting has -O1 and the other -O2 then the order matters. The
order can not be changed.
Afaik (please verify, not sure) an -O1 does NOT undo a -O2.
But a -O-1 does undo a -O2
3) For (almost) all packages.
Check package-graph for dependencies on FCL (includes indirect dependency)
http://imagebin.org/253862
On 13/04/2013 15:51, Zaher Dirkey wrote:
> Hi, again, i failed to do that, any example to do it, for SynEdit package?
>
>
> On Tue, Mar 19, 2013 at 6:43 PM, Martin <lazarus at mfriebe.de
> <mailto:lazarus at mfriebe.de>> wrote:
>
> 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
>
>
> Thanks
>
> I am using last revision of Lazarus, FPC 2.6 on Windows XP SP3
>
> Best Regards
> Zaher Dirkey
>
>
> --
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20130413/a63d36a0/attachment-0003.html>
More information about the Lazarus
mailing list