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 <[email protected] <mailto:[email protected]>> 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
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to