On 26/10/2012 18:50, Martin wrote:

Put
   $(MyProjectOpts)
in each of your packages "tab: Other" > "Custom Options"

Then in your Project define under "IDE Macro Values" (for the desired build mode)
Macro Name: MyProjectOpts
Macro Value: -g- -O3 -XX -CX -Xs


And to clarify.

I an saying:
- It is possible with build modes
- It should be done with buildmodes
- This is one way
- Mos of all: it does not need a chekbox "smallest build" or any check box, that is a just a preset for a combination of existing checkboxes

I am **NOT** saying:
- This is the easiest way
- If or if not there is a way, that is wore self explaining.
- If or if not it could or should be made easier by adding other ways of forcing settings for packages




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

Reply via email to