X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Ftarget.h;h=d6ed43860315b1508356d66024d8852258f70af7;hb=4facd021514ab372c23b1b132d6b4b62baa4efbf;hp=d0e68f50588da69decb51b556dd633be63529c05;hpb=632361796a7ddadf8a726526c937fab22281fb7b;p=builder.git diff --git a/source/target.h b/source/target.h index d0e68f5..d6ed438 100644 --- a/source/target.h +++ b/source/target.h @@ -45,7 +45,6 @@ protected: std::string install_location; Dependencies depends; - bool deps_ready; Target(Builder &, const std::string &); public: @@ -81,13 +80,9 @@ public: const std::string &get_install_location() const { return install_location; } void add_depend(Target *); const Dependencies &get_depends() const { return depends; } - bool get_depends_ready() const { return deps_ready; } - /** - Finds dependencies for the target. When all dependencies have been found, - the function should set deps_ready to true. - */ - virtual void find_depends() { deps_ready = true; } + /** Finds dependencies for the target. */ + virtual void find_depends() { } /** Prepares the target by recursively preparing dependencies, then checking