after changing code in Unit Unit not recompiled, old .ppu / .o used
Original Reporter info from Mantis: jc99
-
Reporter name: Joe care
Original Reporter info from Mantis: jc99
- Reporter name: Joe care
Description:
I have a Project where (Test-)Project, TestCases-Units, Source-Units, ProjOut and EXE are each stored in different places.
Proj: ...\Project\FPC
Source: ...\Project\Source
Testcases: ...\Project\test
ProjOut: ...\Project\bin\i386-win32
Exe: ...\Project\bin
{$mode delphi}
Units from Source and Test are linked in using the
uses
&LtPos;unit> in &LtPos;Path> e.g: TestCase1 in '..\test\Testcase1.pas',
when ProjOut is empty it's OK
when *.ppu and *.o files in ProjOut no recompile (new EXE is generated)
Steps to reproduce:
- New Proj
- save as ..\fpc\proj1
- New Unit1
- Save as ..\source\unit1.pas (omit add to path)
- edit Proj to use Unit1
- Compile
- Change Unit1
- Compile again (Unit1 not recompiled)
Additional information:
when ../source and ../test in Other Units (-Fu) path everything seems fine
deleting them: Problem exists
Problem also exists in objfpc-Mode