[DUG] Include Warnings Directives via Common File
Jolyon Smith
jsmith at deltics.co.nz
Wed Jun 13 10:04:56 NZST 2012
In our FinalBuilder (7) "scripts" the actions for building Delphi projects
include a Compiler settings tab and on that tab there is a "Warnings"
button which presents the usual list of warnings for you to enable/disable.
You also have the option of loading Compiler settings from the project
file itself (we do not use this option - it enables us to more strictly
control official build settings by keeping them well away from settings
that a developer might use in their IDE).
I'm pretty sure similar facilities existed in FB 6 too.
If your issue is specifically how to have ALL projects in a FB script build
with the same settings and maintain these in one place, then I do not think
there is any way to do that, no.
However, this would seem like the sort of thing that you sent once and then
change so rarely that it's not much of an issue, as long as you remember to
make the same changes to all project build steps in your script on those
rare occasions when you do make such changes (with the added bonus that
should you ever need to introduce a change specific to a particular project
you won't accidentally then get - or suppress - unwatned warnings from
other project build steps).
On 13 June 2012 09:13, David Moorhouse (DUG) <delphi at moorhouse.net.nz>wrote:
> Hi
>
> We'd like to have a standard common set of warnings that we use when
> compiling any Delphi project. We are building the projects using Final
> Builder.
>
> The "option sets" in Delphi cannot be included via Final Builder and, in
> any case, cannot be included automatically at build time. I.e. you have to
> manually open the Project|Options dialog and import them.
>
> Compiler Directives e.g. {$WARN abc OFF} in a common separate file can be
> included via the {$IMPORT directive} but this does not apply at project
> level, only at unit level.
>
> Can anyone explain how to get a standard set of Compiler directives
> included at project level ?
>
> D
>
>
> _______________________________________________
> NZ Borland Developers Group - Delphi mailing list
> Post: delphi at listserver.123.net.nz
> Admin: http://delphi.org.nz/mailman/listinfo/delphi
> Unsubscribe: send an email to delphi-request at listserver.123.net.nz with
> Subject: unsubscribe
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listserver.123.net.nz/pipermail/delphi/attachments/20120613/aa0568be/attachment.html
More information about the Delphi
mailing list