[DUG] Include Warnings Directives via Common File

David Moorhouse (DUG) delphi at moorhouse.net.nz
Wed Jun 13 09:13:25 NZST 2012


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




More information about the Delphi mailing list