Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2011-01

project paths

5 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Andrea Mauri

Dear all,
I noticed a strange behaviour using lazarus svn. If I well remember it did not occur previously.

Project options --> Compiler options --> Paths

If I set some additional paths in the paths, when I compile my project all the units in the additional paths are compiled also if they do not belongs to my project.

Andrea

Reply by email

Mattias Gaertner
to Andrea Mauri
Show quoted text 9 lines
Dear all, I noticed a strange behaviour using lazarus svn. If I well remember it did not occur previously. Project options --> Compiler options --> Paths If I set some additional paths in the paths, when I compile my project all the units in the additional paths are compiled also if they do not belongs to my project.

See the documentation for the difference between "Other unit files" and "Other sources".

Mattias

Reply by email

Andrea Mauri
to Mattias Gaertner: On Tue, 25 Jan 2011 12:37:53 +0100 See the documentation for the difference between…

Il 25/01/2011 12:48, Mattias Gaertner ha scritto:

See the documentation for the difference between "Other unit files" and "Other sources".

I am not able to change the behaviour of lazarus.
My question is:

I have a dir including 3 pas files:
a.pas
b.pas
c.pas

My project needs only a.pas.

Where I have to put this directory (in which search path) in order to tell to my project where it will be able to find a.pas? Additionally I don't want to compile also b.pas and c.pas because I don't need them.

andrea

Reply by email

Vincent Snijders
to Andrea Mauri

2011/1/25 Andrea Mauri :

Show quoted text 17 lines
Il 25/01/2011 12:48, Mattias Gaertner ha scritto: > > See the documentation for the difference between "Other unit files" and > "Other sources". I am not able to change the behaviour of lazarus. My question is: I have a dir including 3 pas files: a.pas b.pas c.pas My project needs only a.pas. Where I have to put this directory (in which search path) in order to tell to my project where it will be able to find a.pas?

In the Other unit files.

Additionally I don't want to compile also b.pas and c.pas because I don't need them.

If your program doesn't use them, they won't be compiled.

Vincent

Reply by email