On 06/10/2010 08:19 PM, Bill Hoffman wrote:

add_depend is used to express depends that the build system can not
figure out. For most cases, it is not needed. add_library(a ...)
target_link_library(a b), a now depends on library b. It is when you use
custom commands, or have generated source files that are not known at
configure time that you would need to use add_depend.

Exactly. And we have a lot of these "custom" targets. A build system tailored to that can make "add_depend" or similar unnecessary as it *can* figure that out, in the same way as CMake can figure it out for C libraries, because it knows how to build them. Our plan is that all target types and the ways they are built are known to the build system and declaring one of these targets automatically takes care of the dependencies.

Regards,
Mathias

--
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS
Please don't reply to "[email protected]".
I use it for the OOo lists and only rarely read other mails sent to it.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to