- bool is_installable() const { return !install_location.empty(); }
- const std::string &get_install_location() const { return install_location; }
- void add_depend(Target *);
+ /** Adds a dependency for the target. Order is preseved and is important
+ for some target types. It is an error to create dependency cycles, although
+ this won't be detected until the targets are prepared. */
+ void add_depend(Target &);
+
+ /// Returns the dependencies of the target, in the order they were added.