[Lazarus] Opening non existing files and (not) adding them to the project

Sven Barth pascaldragon at googlemail.com
Sun Jan 17 19:15:49 CET 2016


Am 17.01.2016 18:22 schrieb "Bart" <bartjunk64 at gmail.com>:
>
> On 1/17/16, Sven Barth <pascaldragon at googlemail.com> wrote:
>
> > Is there some option I have missed to change this behavior? Because not
> > only meeses this up the compiler project, but CodeTools don't like it as
> > well as the files I add this way are usually program files, thus they
> > shouldn't be in the uses section anyway.
>
> Odd.
>
> ProjectOptions->Miscallaneous-> "Main unit has uses section containing
> all units of a project".
> Uncheck and save as default compiler options?
>
> Would have expected that to be a global setting.

That solves at least one part of the issue. The new file is however still
added to the project which is not good.

Regards,
Sven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20160117/4a78aaef/attachment-0003.html>


More information about the Lazarus mailing list