<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type"/>
</head><body style="">
<div>
<br/>Michael Schnell <mschnell@lumino.de> hat am 13. September 2012 um 09:50 geschrieben:
<br/>> On 09/12/2012 11:38 PM, Mattias Gaertner wrote:
<br/>> > Add -dDEBUG to the IDE build options.
<br/>> That sounds easy, but is it really true ?
<br/>>
<br/>> I understand that the package files are only compiled when necessary. So
<br/>> at least those that are related to a widget type that the IDE itself
<br/>> does not run on, are only compiled with the project, even though they
<br/>> are not compiled when building the IDE (I suppose that is when the "IDE
<br/>> build options" are used), nor seem the compiling of the packages be
<br/>> influenced by the project options (as they are not "project source files". )
<br/>
<br/>
</div>
<div>
The IDE build options are available via the IDE macro $(IDEBuildOptions). Many packages add this to their custom options. These options are always used - no matter if the package compilation was triggered by the the project or by the IDE.
</div>
<div>
If you want to add flags to all packages, even those that are not made for this, edit your fpc.cfg. That's the purpose of fpc.cfg.
</div>
<div>
</div>
<div>
Mattias
</div>
</body></html>