On Sat, 29 Oct 2011 21:09:50 +0200 cobines <cobi...@gmail.com> wrote:
> Shouldn't the package files be rebuilt automatically? Yes. They are. The IDE even add the -B option if needed. But there are some corner cases. > For example > package "A" depends on LCL. The LCL source files change and LCL > package is rebuilt manually or automatically (*.o, *.ppu change). Then > you rebuild package "A" and the files that use the changed files > should be rebuilt. But they are not and it is required to delete them > first. > > Or it doesn't work like that? It does work in normal cases. But when you switch from one Lazarus version to another or when people mess up things, the automatic detection of the IDE and/or FPC may fail and manual clean up is needed. That's why 0.9.31 has a "Run / clean up build files". Something similar is needed for the IDE and lazbuild. I will implement it next week. Mattias -- _______________________________________________ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus