Alex Neundorf e74ff7c29f cmDepends: allow multiple dependees per depender
This patch is heavily inspired by Michael Wild.

The interfaces cmDepends::Write and cmDepends::WriteDependencies where
extended to allow multiple dependees (sources) per depender (object).
cmDepends::Write first collect all dependencies into a std::set before
passing it to cmDepends::WriteDependencies.

cmDependsC::WriteDependencies also first collects all explicit and
implicit dependencies into a std::set and only then writes
depend.{internal,make}. The implementation of cmDependsFortran simply
loops over all sources and proceeds as before, whereas the cmDependsJava
implementation is as trivial as before.

This is for preventing exponential growth of depend.{internal,make} in
the next commit which fixes dependency-vector erasure in
cmDepends::CheckDependencies.

Inspired-by: Michael Wild <themiwi@users.sourceforge.net>
2012-11-06 11:54:39 -05:00
..
2012-09-25 15:18:34 -04:00
2012-09-19 11:40:47 -04:00
2012-09-29 00:01:04 -04:00
2011-09-15 16:20:33 +02:00
2011-10-23 22:18:08 +02:00
2010-09-10 14:42:09 -04:00
2011-10-23 22:18:08 +02:00
2012-02-02 23:40:21 +00:00
2012-07-18 12:17:39 +02:00
2012-02-21 15:33:31 -05:00