Il 01/09/2016 13:12, Mattias Gaertner ha scritto:
ppus do not include the defines, so a simple compile won't rebuild ppu
files. That's by design.
How do you share units?
If you do it manually by adding unit paths to the Compiler Options then
you have to clean up manually.
If you use Lazarus packages, then Lazarus will detect the changes and
pass the -B automatically.
Using a package isn't a very intuitive solution, when *all* the units
belong to the project.
A simple option could be to change the default unit path proposed by
Lazarus: in place of lib/$(TargetCPU)-$(TargetOS), make it
lib/$(ProjectName)/$(TargetCPU)-$(TargetOS)
this could make it much easier to have more than one project in the same
directory, without any risk of mix-ups.
Just my 2c
Giuliano
--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
http://lists.lazarus-ide.org/listinfo/lazarus