Re: [Lazarus] unit on relative path is not recompile

2013-09-30 Thread Dariusz Mazur
On 2013-09-27 17:03, Mattias Gaertner wrote: On Fri, 27 Sep 2013 16:59:04 +0200 Dariusz Mazur dar...@emadar.com wrote: Hi I've noticed than lazarus (1.0.12) don't recompile units, which are include in program on relative path code program p; uses u1 in '..\..\test\u1.pas'; begin ...

Re: [Lazarus] unit on relative path is not recompile

2013-09-30 Thread Mattias Gaertner
On Mon, 30 Sep 2013 16:35:30 +0200 Dariusz Mazur dar...@emadar.com wrote: On 2013-09-27 17:03, Mattias Gaertner wrote: On Fri, 27 Sep 2013 16:59:04 +0200 Dariusz Mazur dar...@emadar.com wrote: Hi I've noticed than lazarus (1.0.12) don't recompile units, which are include in program

Re: [Lazarus] unit on relative path is not recompile

2013-09-30 Thread patspiper
On 30/09/13 18:13, Mattias Gaertner wrote: On Mon, 30 Sep 2013 16:35:30 +0200 Dariusz Mazur dar...@emadar.com wrote: On 2013-09-27 17:03, Mattias Gaertner wrote: On Fri, 27 Sep 2013 16:59:04 +0200 Dariusz Mazur dar...@emadar.com wrote: Hi I've noticed than lazarus (1.0.12) don't recompile

Re: [Lazarus] unit on relative path is not recompile

2013-09-30 Thread Dariusz Mazur
On 2013-09-30 17:13, Mattias Gaertner wrote: On Mon, 30 Sep 2013 16:35:30 +0200 Dariusz Mazur dar...@emadar.com wrote: On 2013-09-27 17:03, Mattias Gaertner wrote: On Fri, 27 Sep 2013 16:59:04 +0200 Dariusz Mazur dar...@emadar.com wrote: Hi I've noticed than lazarus (1.0.12) don't

Re: [Lazarus] unit on relative path is not recompile

2013-09-30 Thread Mattias Gaertner
On Mon, 30 Sep 2013 18:26:41 +0300 patspiper patspi...@gmail.com wrote: On 30/09/13 18:13, Mattias Gaertner wrote: On Mon, 30 Sep 2013 16:35:30 +0200 Dariusz Mazur dar...@emadar.com wrote: On 2013-09-27 17:03, Mattias Gaertner wrote: On Fri, 27 Sep 2013 16:59:04 +0200 Dariusz Mazur

Re: [Lazarus] unit on relative path is not recompile

2013-09-30 Thread Mattias Gaertner
On Mon, 30 Sep 2013 19:10:54 +0300 patspiper patspi...@gmail.com wrote: [...] Should lfm's be added to projects and packages? You don't need to add lfm files to projects. Add them to packages. You can add a feature request to let the IDE check lfm files for packages. Is it OK if include

Re: [Lazarus] unit on relative path is not recompile

2013-09-30 Thread patspiper
On 30/09/13 19:53, Mattias Gaertner wrote: On Mon, 30 Sep 2013 19:10:54 +0300 patspiper patspi...@gmail.com wrote: [...] Should lfm's be added to projects and packages? You don't need to add lfm files to projects. Add them to packages. You can add a feature request to let the IDE check lfm

Re: [Lazarus] unit on relative path is not recompile

2013-09-30 Thread Mattias Gaertner
On Mon, 30 Sep 2013 20:25:03 +0300 patspiper patspi...@gmail.com wrote: On 30/09/13 19:53, Mattias Gaertner wrote: On Mon, 30 Sep 2013 19:10:54 +0300 patspiper patspi...@gmail.com wrote: [...] Should lfm's be added to projects and packages? You don't need to add lfm files to

Re: [Lazarus] unit on relative path is not recompile

2013-09-30 Thread patspiper
On 30/09/13 20:50, Mattias Gaertner wrote: On Mon, 30 Sep 2013 20:25:03 +0300 patspiper patspi...@gmail.com wrote: The problem is with include files that hold for example global defines and is used by several packages. That's not a problem. There are at least two solutions: Solution 1:

Re: [Lazarus] unit on relative path is not recompile

2013-09-30 Thread Mattias Gaertner
On Mon, 30 Sep 2013 22:34:14 +0300 patspiper patspi...@gmail.com wrote: [...] General guidelines: - The project/package directory is implicitly added to the Other unit files (-Fu) of that project/package. yes - Always add the directories of added units to the project/package to the Other

[Lazarus] unit on relative path is not recompile

2013-09-27 Thread Dariusz Mazur
Hi I've noticed than lazarus (1.0.12) don't recompile units, which are include in program on relative path code program p; uses u1 in '..\..\test\u1.pas'; begin ... end; /code After change something in u1, even in full build u1 is not recompile. If I added path '..\..\test\' to directory

Re: [Lazarus] unit on relative path is not recompile

2013-09-27 Thread Mattias Gaertner
On Fri, 27 Sep 2013 16:59:04 +0200 Dariusz Mazur dar...@emadar.com wrote: Hi I've noticed than lazarus (1.0.12) don't recompile units, which are include in program on relative path code program p; uses u1 in '..\..\test\u1.pas'; begin ... end; /code Is ..\..\test\u1.pas